Commit 783791fd authored by Jacob Vosmaer's avatar Jacob Vosmaer

The good stuff needs NGINX 1.7.11

parent 8d59b1ac
......@@ -127,9 +127,11 @@ server {
# 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;
# The following settings only work with NGINX 1.7.11 or newer
#
# # 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;
......
......@@ -174,9 +174,11 @@ server {
# 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;
# The following settings only work with NGINX 1.7.11 or newer
#
# # 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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment