From 995b4fa3f9334a0ddb9c90db552334c27be4ee0c Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 10 Jan 2026 16:28:46 +0200 Subject: Add nginx timeouts for git-http-backend to fix large clone issues ArgoCD was experiencing 'early EOF' errors during git fetch operations. Added fastcgi timeout settings to prevent connection closures: - fastcgi_read_timeout: 300s (5 minutes) - fastcgi_send_timeout: 300s (5 minutes) - fastcgi_buffering: off (stream responses immediately) This fixes: curl 18 transfer closed with outstanding read data remaining --- f3s/git-server/helm-chart/templates/deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'f3s/git-server') diff --git a/f3s/git-server/helm-chart/templates/deployment.yaml b/f3s/git-server/helm-chart/templates/deployment.yaml index 82246a1..e0fcaf3 100644 --- a/f3s/git-server/helm-chart/templates/deployment.yaml +++ b/f3s/git-server/helm-chart/templates/deployment.yaml @@ -132,6 +132,10 @@ spec: fastcgi_param PATH_INFO /$1/$2;\ fastcgi_param REMOTE_USER $remote_user;\ include /tmp/fastcgi_params;\ + # Increase timeouts for git operations (clones can be large)\ + fastcgi_read_timeout 300s;\ + fastcgi_send_timeout 300s;\ + fastcgi_buffering off;\ }\ ' /tmp/conf.d/default.conf -- cgit v1.2.3