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:
Marin Jankovski 2015-11-18 15:48:16 +00:00
commit b362ee7d70
1 changed files with 1 additions and 1 deletions

View File

@ -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/ {