From 78aa4274b55b3871c8230535f04da91d1f2c5120 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Sat, 17 Feb 2024 13:45:19 +0100 Subject: [PATCH] Allow larger requests to gitlab for bigger artifacts --- modules/services/git/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/services/git/default.nix b/modules/services/git/default.nix index 6337487a..51cd4a0a 100644 --- a/modules/services/git/default.nix +++ b/modules/services/git/default.nix @@ -12,7 +12,12 @@ chvp.services.nginx.hosts = [{ fqdn = "git.chvp.be"; options = { - locations."/".proxyPass = "http://unix:/run/gitlab/gitlab-workhorse.socket"; + locations."/" = { + proxyPass = "http://unix:/run/gitlab/gitlab-workhorse.socket"; + extraConfig = '' + client_max_body_size 50M; + ''; + }; }; }]; users = {