diff options
author | Drew Blessing <drew@gitlab.com> | 2015-11-18 09:53:08 -0600 |
---|---|---|
committer | Drew Blessing <drew@gitlab.com> | 2015-11-18 09:53:08 -0600 |
commit | cab6efa53fe8c2d9d44d6762fd71f97bd8d4e3d4 (patch) | |
tree | 055bcf92da59c41b98e31fc9f73ba0e934bd39dc | |
parent | 61867abeeccf9e6f65ba38c365d8bdf6b61387f4 (diff) | |
download | gitlab-ce-cab6efa53fe8c2d9d44d6762fd71f97bd8d4e3d4.tar.gz |
Deploy page should be shown for all pages not just root
-rw-r--r-- | lib/support/nginx/gitlab | 2 | ||||
-rw-r--r-- | lib/support/nginx/gitlab-ssl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/support/nginx/gitlab b/lib/support/nginx/gitlab index 93f2ad07aeb..acc547afcce 100644 --- a/lib/support/nginx/gitlab +++ b/lib/support/nginx/gitlab @@ -67,7 +67,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; } ## We route uploads through GitLab to prevent XSS and enforce access control. diff --git a/lib/support/nginx/gitlab-ssl b/lib/support/nginx/gitlab-ssl index 90749947fa4..a8f8d48eb1f 100644 --- a/lib/support/nginx/gitlab-ssl +++ b/lib/support/nginx/gitlab-ssl @@ -112,7 +112,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; } ## We route uploads through GitLab to prevent XSS and enforce access control. |