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
Léo-Paul Géneau
gitlab-ce
Commits
7e4e3fb3
Commit
7e4e3fb3
authored
Nov 09, 2015
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix nginx config to use @gitlab-workhorse
parent
445cdb75
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
lib/support/nginx/gitlab
lib/support/nginx/gitlab
+4
-4
lib/support/nginx/gitlab-ssl
lib/support/nginx/gitlab-ssl
+4
-4
No files found.
lib/support/nginx/gitlab
View file @
7e4e3fb3
...
@@ -134,16 +134,16 @@ server {
...
@@ -134,16 +134,16 @@ server {
# Build artifacts should be submitted to this location
# Build artifacts should be submitted to this location
location ~ ^/[\w\.-]+/[\w\.-]+/builds/download {
location ~ ^/[\w\.-]+/[\w\.-]+/builds/download {
client_max_body_size 0;
client_max_body_size 0;
# 'Error' 418 is a hack to re-use the @gitlab-
git-http-server
block
# 'Error' 418 is a hack to re-use the @gitlab-
workhorse
block
error_page 418 = @gitlab-
git-http-server
;
error_page 418 = @gitlab-
workhorse
;
return 418;
return 418;
}
}
# Build artifacts should be submitted to this location
# Build artifacts should be submitted to this location
location ~ /ci/api/v1/builds/[0-9]+/artifacts {
location ~ /ci/api/v1/builds/[0-9]+/artifacts {
client_max_body_size 0;
client_max_body_size 0;
# 'Error' 418 is a hack to re-use the @gitlab-
git-http-server
block
# 'Error' 418 is a hack to re-use the @gitlab-
workhorse
block
error_page 418 = @gitlab-
git-http-server
;
error_page 418 = @gitlab-
workhorse
;
return 418;
return 418;
}
}
...
...
lib/support/nginx/gitlab-ssl
View file @
7e4e3fb3
...
@@ -181,16 +181,16 @@ server {
...
@@ -181,16 +181,16 @@ server {
# Build artifacts should be submitted to this location
# Build artifacts should be submitted to this location
location ~ ^/[\w\.-]+/[\w\.-]+/builds/download {
location ~ ^/[\w\.-]+/[\w\.-]+/builds/download {
client_max_body_size 0;
client_max_body_size 0;
# 'Error' 418 is a hack to re-use the @gitlab-
git-http-server
block
# 'Error' 418 is a hack to re-use the @gitlab-
workhorse
block
error_page 418 = @gitlab-
git-http-server
;
error_page 418 = @gitlab-
workhorse
;
return 418;
return 418;
}
}
# Build artifacts should be submitted to this location
# Build artifacts should be submitted to this location
location ~ /ci/api/v1/builds/[0-9]+/artifacts {
location ~ /ci/api/v1/builds/[0-9]+/artifacts {
client_max_body_size 0;
client_max_body_size 0;
# 'Error' 418 is a hack to re-use the @gitlab-
git-http-server
block
# 'Error' 418 is a hack to re-use the @gitlab-
workhorse
block
error_page 418 = @gitlab-
git-http-server
;
error_page 418 = @gitlab-
workhorse
;
return 418;
return 418;
}
}
...
...
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