diff options
author | Nick Thomas <nick@gitlab.com> | 2017-08-08 13:19:23 +0100 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2017-08-08 13:19:23 +0100 |
commit | 94d9b545db0dda59020f00cfc17bb7f9d1e4e5a2 (patch) | |
tree | bae3af440471d12d4e4b9017ef71310a063f08e5 /lib/support/nginx/gitlab-pages-ssl | |
parent | ca2a2aea898d21ad06721e881eaec0d2831136bb (diff) | |
download | gitlab-ce-94d9b545db0dda59020f00cfc17bb7f9d1e4e5a2.tar.gz |
Fix proxy config in Gitlab Pages nginx examples
Diffstat (limited to 'lib/support/nginx/gitlab-pages-ssl')
-rw-r--r-- | lib/support/nginx/gitlab-pages-ssl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/support/nginx/gitlab-pages-ssl b/lib/support/nginx/gitlab-pages-ssl index a1ccf266835..62ed482e2bf 100644 --- a/lib/support/nginx/gitlab-pages-ssl +++ b/lib/support/nginx/gitlab-pages-ssl @@ -67,8 +67,11 @@ server { proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; + + proxy_cache off; + # The same address as passed to GitLab Pages: `-listen-proxy` - proxy_pass http://localhost:8090/; + proxy_pass http://localhost:8090/; } # Define custom error pages |