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:
commit
99ea9025a4
|
@ -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 %>
|
||||
|
|
Loading…
Reference in New Issue