From 94d9b545db0dda59020f00cfc17bb7f9d1e4e5a2 Mon Sep 17 00:00:00 2001 From: Nick Thomas Date: Tue, 8 Aug 2017 13:19:23 +0100 Subject: Fix proxy config in Gitlab Pages nginx examples --- lib/support/nginx/gitlab-pages-ssl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/support/nginx/gitlab-pages-ssl') 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 -- cgit v1.2.1