summaryrefslogtreecommitdiff
path: root/f3s/git-server
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-01-10 16:28:46 +0200
committerPaul Buetow <paul@buetow.org>2026-01-10 16:28:46 +0200
commit995b4fa3f9334a0ddb9c90db552334c27be4ee0c (patch)
tree7130d52b0255d0d783b665c1c0b841f820074a27 /f3s/git-server
parent8c957a0593ab26b23772d7f28b6946e28b40ebd1 (diff)
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
Diffstat (limited to 'f3s/git-server')
-rw-r--r--f3s/git-server/helm-chart/templates/deployment.yaml4
1 files changed, 4 insertions, 0 deletions
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