summaryrefslogtreecommitdiffstats
path: root/lass/2configs/services/git/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lass/2configs/services/git/default.nix')
-rw-r--r--lass/2configs/services/git/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/lass/2configs/services/git/default.nix b/lass/2configs/services/git/default.nix
index 096f73c03..2b68905ed 100644
--- a/lass/2configs/services/git/default.nix
+++ b/lass/2configs/services/git/default.nix
@@ -7,5 +7,15 @@
enableACME = true;
addSSL = true;
locations = config.services.nginx.virtualHosts.cgit.locations;
+ extraConfig = ''
+ client_max_body_size 300M;
+ client_body_timeout 2024;
+ client_header_timeout 2024;
+
+ fastcgi_buffers 16 512k;
+ fastcgi_buffer_size 512k;
+ fastcgi_read_timeout 500;
+ fastcgi_send_timeout 500;
+ '';
};
}