From 953afa78e29667a75553837508c8500e48ea5d7a Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Thu, 19 Jun 2014 19:03:59 +0200 Subject: [PATCH] Update Nginx configuration from upstream --- files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb b/files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb index 3f8cc83..d1b9589 100644 --- a/files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb +++ b/files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb @@ -77,6 +77,7 @@ server { proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Frame-Options SAMEORIGIN; proxy_pass http://gitlab; } -- libgit2 0.21.2