Merge pull request #67 from srijan/master

Docs update: forward url protocol in sample nginx configs
This commit is contained in:
Martin Zimmermann 2014-02-11 00:19:09 +01:00
commit f4cfa6f63c
2 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,8 @@ originating from CORS_. Also, privacy-protecting browser addons such as
location /isso {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Script-Name /isso;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://localhost:8080;
}
}

View File

@ -111,6 +111,7 @@ configuration looks like this:
proxy_pass http://localhost:8080;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
}
}