Skip to content
Snippets Groups Projects
Commit 783791fd authored by Jacob Vosmaer's avatar Jacob Vosmaer
Browse files

The good stuff needs NGINX 1.7.11

parent 8d59b1ac
Branches
Tags
1 merge request!1256Do not let NGINX buffer Git HTTP requests
Pipeline #
Loading
Loading
@@ -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;
Loading
Loading
Loading
Loading
@@ -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;
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment