Skip to content
Snippets Groups Projects
Commit d988a12f69fb authored by Thorsten Claff's avatar Thorsten Claff
Browse files

Update nginx.md - the Passenger/Nginx configuration file didn't match the...

Update nginx.md - the Passenger/Nginx configuration file didn't match the current artifact upload mechanism
parent d0dfcf1e1019
No related branches found
No related tags found
No related merge requests found
......@@ -531,6 +531,15 @@
error_page 418 = @gitlab-workhorse;
return 418;
}
# Build artifacts should be submitted to this location
location ~ /api/v4/jobs/[0-9]+/artifacts {
client_max_body_size 0;
# 'Error' 418 is a hack to re-use the @gitlab-workhorse block
error_page 418 = @gitlab-workhorse;
return 418;
}
# For protocol upgrades from HTTP/1.0 to HTTP/1.1 we need to provide Host header if its missing
if ($http_host = "") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment