Commit 953afa78e29667a75553837508c8500e48ea5d7a
1 parent
8c420160
Exists in
master
and in
8 other branches
Update Nginx configuration from upstream
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
files/gitlab-cookbooks/gitlab/templates/default/nginx-gitlab-http.conf.erb
| @@ -77,6 +77,7 @@ server { | @@ -77,6 +77,7 @@ server { | ||
| 77 | proxy_set_header Host $http_host; | 77 | proxy_set_header Host $http_host; |
| 78 | proxy_set_header X-Real-IP $remote_addr; | 78 | proxy_set_header X-Real-IP $remote_addr; |
| 79 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | 79 | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
| 80 | + proxy_set_header X-Frame-Options SAMEORIGIN; | ||
| 80 | 81 | ||
| 81 | proxy_pass http://gitlab; | 82 | proxy_pass http://gitlab; |
| 82 | } | 83 | } |