X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/c0cf401614e37e85249407142d473d7be59a4310..1eebadd9e2c2ffe0013eddfc00248f55ad6e7648:/cookbooks/git/templates/default/apache.erb diff --git a/cookbooks/git/templates/default/apache.erb b/cookbooks/git/templates/default/apache.erb index 5aa08f465..39a680120 100644 --- a/cookbooks/git/templates/default/apache.erb +++ b/cookbooks/git/templates/default/apache.erb @@ -47,8 +47,8 @@ SetEnv GIT_PROJECT_ROOT /var/lib/git SetEnv GIT_HTTP_EXPORT_ALL - # Keepalive should be larger than git config uploadpack.keepalive to avoid potential race on slower links - KeepAliveTimeout 60 + # KeepaliveTimeout longer than git config uploadpack.keepalive 5 second default + KeepAliveTimeout 20 ScriptAlias /public /usr/lib/git-core/git-http-backend/public ScriptAlias /private /usr/lib/git-core/git-http-backend/private