Fix indentation in NGINX config
This commit is contained in:
parent
295d378e9a
commit
04049b6b17
1 changed files with 6 additions and 6 deletions
|
@ -191,17 +191,17 @@ 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-workhorse block
|
# 'Error' 418 is a hack to re-use the @gitlab-workhorse block
|
||||||
error_page 418 = @gitlab-workhorse;
|
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-workhorse block
|
# 'Error' 418 is a hack to re-use the @gitlab-workhorse block
|
||||||
error_page 418 = @gitlab-workhorse;
|
error_page 418 = @gitlab-workhorse;
|
||||||
return 418;
|
return 418;
|
||||||
}
|
}
|
||||||
|
|
||||||
location @gitlab-workhorse {
|
location @gitlab-workhorse {
|
||||||
|
|
Loading…
Reference in a new issue