The good stuff needs NGINX 1.7.11
This commit is contained in:
parent
8d59b1ac45
commit
783791fd08
|
@ -127,9 +127,11 @@ server {
|
||||||
# Do not buffer Git HTTP responses
|
# Do not buffer Git HTTP responses
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
|
|
||||||
# Pass chunked request bodies to gitlab-git-http-server as-is
|
# The following settings only work with NGINX 1.7.11 or newer
|
||||||
proxy_request_buffering off;
|
#
|
||||||
proxy_http_version 1.1;
|
# # 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 Host $http_host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|
|
@ -174,9 +174,11 @@ server {
|
||||||
# Do not buffer Git HTTP responses
|
# Do not buffer Git HTTP responses
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
|
|
||||||
# Pass chunked request bodies to gitlab-git-http-server as-is
|
# The following settings only work with NGINX 1.7.11 or newer
|
||||||
proxy_request_buffering off;
|
#
|
||||||
proxy_http_version 1.1;
|
# # 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 Host $http_host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
|
Loading…
Reference in New Issue