diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-04-22 16:26:18 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-04-22 16:26:42 -0400 |
commit | d85f65ef4e07fc0c58d51b2e943ad2acb87ef461 (patch) | |
tree | a7e5007191f3ff73fdcc3236fff264a175bd097e /lib/support | |
parent | 80893cad672361e62c0c05c2cf9262209bc54fd2 (diff) | |
download | gitlab-ce-d85f65ef4e07fc0c58d51b2e943ad2acb87ef461.tar.gz |
Add a branded 503 static error pagers-503-page
[ci skip]
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/15398
Diffstat (limited to 'lib/support')
-rw-r--r-- | lib/support/nginx/gitlab | 3 | ||||
-rw-r--r-- | lib/support/nginx/gitlab-ssl | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/support/nginx/gitlab b/lib/support/nginx/gitlab index 1324e4cd267..d521de28e8a 100644 --- a/lib/support/nginx/gitlab +++ b/lib/support/nginx/gitlab @@ -61,7 +61,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 /home/git/gitlab/public; internal; } diff --git a/lib/support/nginx/gitlab-ssl b/lib/support/nginx/gitlab-ssl index af6ea9ed706..bf014b56cf6 100644 --- a/lib/support/nginx/gitlab-ssl +++ b/lib/support/nginx/gitlab-ssl @@ -105,7 +105,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 /home/git/gitlab/public; internal; } |