Commit 519f155a by Feanil Patel

Merge pull request #3026 from open-craft/jill/jenkins_master_http_host

Uses proxy_set_header Host $http_host
parents 86242ce7 356d534b
......@@ -11,7 +11,7 @@ server {
# The following settings from https://wiki.jenkins-ci.org/display/JENKINS/Running+Hudson+behind+Nginx
sendfile off;
proxy_set_header Host $host;
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_connect_timeout 150;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment