Merge branch 'deploy_page_all' into 'master'
Make deploy page show on all pages, when up This change will make Nginx display the deploy page for *all* GitLab pages when it's up. Previously only the root/index of GitLab would show deploy. Everyone else may get errors if visiting a page directly. See merge request !540
This commit is contained in:
commit
b362ee7d70
|
@ -98,7 +98,7 @@ server {
|
|||
location / {
|
||||
## Serve static files from defined root folder.
|
||||
## @gitlab is a named location for the upstream fallback, see below.
|
||||
try_files $uri $uri/index.html $uri.html @gitlab;
|
||||
try_files $uri /index.html $uri.html @gitlab;
|
||||
}
|
||||
|
||||
location /uploads/ {
|
||||
|
|
Loading…
Reference in New Issue