summaryrefslogtreecommitdiff
path: root/lib/support
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2015-09-07 14:59:32 +0200
committerJacob Vosmaer <contact@jacobvosmaer.nl>2015-09-07 14:59:32 +0200
commit783791fd08e8144a2ab97307a12df9d2a40e0421 (patch)
treeee70ef0b998f309e03207aeb8a73358ab2891849 /lib/support
parent8d59b1ac456575496e0bceb6812c59545b1e9b50 (diff)
downloadgitlab-ce-783791fd08e8144a2ab97307a12df9d2a40e0421.tar.gz
The good stuff needs NGINX 1.7.11nginx-git-http
Diffstat (limited to 'lib/support')
-rw-r--r--lib/support/nginx/gitlab8
-rw-r--r--lib/support/nginx/gitlab-ssl8
2 files changed, 10 insertions, 6 deletions
diff --git a/lib/support/nginx/gitlab b/lib/support/nginx/gitlab
index 1cd81ea769f..7218a4d2f20 100644
--- a/lib/support/nginx/gitlab
+++ b/lib/support/nginx/gitlab
@@ -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;
diff --git a/lib/support/nginx/gitlab-ssl b/lib/support/nginx/gitlab-ssl
index 83aad321aab..7dabfba87e2 100644
--- a/lib/support/nginx/gitlab-ssl
+++ b/lib/support/nginx/gitlab-ssl
@@ -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;