Commit 9a33494e authored by Pietro Albini's avatar Pietro Albini

nginx: add more forwarded headers

parent 3e311109
...@@ -22,6 +22,9 @@ server { ...@@ -22,6 +22,9 @@ server {
ssl_certificate_key {{ ssl_home }}/localcerts/{{ item.key }}/privkey.pem; ssl_certificate_key {{ ssl_home }}/localcerts/{{ item.key }}/privkey.pem;
location / { location / {
proxy_set_header X-Forwarded-Host {{ item.key }};
proxy_set_header X-Forwarded-Port 443;
proxy_set_header X-Forwarded-Ssl on;
proxy_pass http://{{ item.value }}/; proxy_pass http://{{ item.value }}/;
} }
......
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