commit 7a2dc96eb26c7f705fd8d73cc1ce34513ad5a24c Author: Elan Ruusamäe <g...@delfi.ee> Date: Sun Sep 4 13:41:30 2016 +0300
nginx: add X-Forwarded-Host example nginx.conf | 1 + 1 file changed, 1 insertion(+) --- diff --git a/nginx.conf b/nginx.conf index e6caa6a..499fdf6 100644 --- a/nginx.conf +++ b/nginx.conf @@ -40,6 +40,7 @@ server { proxy_http_version 1.1; proxy_set_header Host $http_host; + proxy_set_header X-Forwarded-Host ""; 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 http; ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/gitlab-ce.git/commitdiff/7a2dc96eb26c7f705fd8d73cc1ce34513ad5a24c _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit