Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/support/nginx/gitlab-pages')
-rw-r--r--lib/support/nginx/gitlab-pages4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/support/nginx/gitlab-pages b/lib/support/nginx/gitlab-pages
index 33f573d0b5b..ed4f7e4316a 100644
--- a/lib/support/nginx/gitlab-pages
+++ b/lib/support/nginx/gitlab-pages
@@ -14,8 +14,8 @@ server {
access_log /var/log/nginx/gitlab_pages_access.log;
error_log /var/log/nginx/gitlab_pages_error.log;
- # 1. Try to get /project/ to => shared/pages/${group}/public/ or index.html
- # 2. Try to get / to => shared/pages/${group}/${host}/public/ or index.html
+ # 1. Try to get /path/ from shared/pages/${group}/${path}/public/
+ # 2. Try to get / from shared/pages/${group}/${host}/public/
location ~ ^/([^/]*)(/.*)?$ {
try_files "/$1/public$2"
"/$1/public$2/index.html"