Merge branch 'do_not_buffer' into 'master'

Do not let nginx buffer git http requests

Fixes #769

See merge request !465
This commit is contained in:
Marin Jankovski 2015-09-11 09:34:12 +00:00
commit 99ea9025a4
1 changed files with 7 additions and 0 deletions

View File

@ -160,6 +160,13 @@ server {
proxy_connect_timeout 300;
proxy_redirect off;
# Do not buffer Git HTTP responses
proxy_buffering off;
# Pass chunked request bodies to gitlab-git-http-server as-is
proxy_request_buffering off;
proxy_http_version 1.1;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
<% if @https %>