Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
783791fd
Commit
783791fd
authored
Sep 07, 2015
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The good stuff needs NGINX 1.7.11
parent
8d59b1ac
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
lib/support/nginx/gitlab
lib/support/nginx/gitlab
+5
-3
lib/support/nginx/gitlab-ssl
lib/support/nginx/gitlab-ssl
+5
-3
No files found.
lib/support/nginx/gitlab
View file @
783791fd
...
@@ -127,9 +127,11 @@ server {
...
@@ -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;
...
...
lib/support/nginx/gitlab-ssl
View file @
783791fd
...
@@ -174,9 +174,11 @@ server {
...
@@ -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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment