updated gitlab vhost nginx configuration templates

This commit is contained in:
Sameer Naik 2016-06-01 08:33:07 +05:30
parent fcb31c367d
commit c1f8c1373d
2 changed files with 4 additions and 2 deletions

View File

@ -64,7 +64,8 @@ server {
error_page 422 /422.html;
error_page 500 /500.html;
error_page 502 /502.html;
location ~ ^/(404|422|500|502)\.html$ {
error_page 503 /503.html;
location ~ ^/(404|422|500|502|503)\.html$ {
root {{GITLAB_INSTALL_DIR}}/public;
internal;
}

View File

@ -110,7 +110,8 @@ server {
error_page 422 /422.html;
error_page 500 /500.html;
error_page 502 /502.html;
location ~ ^/(404|422|500|502)\.html$ {
error_page 503 /503.html;
location ~ ^/(404|422|500|502|503)\.html$ {
root {{GITLAB_INSTALL_DIR}}/public;
internal;
}