Commit 6730740d authored by Pietro Albini's avatar Pietro Albini

nginx: fix wrong host header proxies

parent c6a17764
......@@ -22,6 +22,7 @@ server {
ssl_certificate_key /etc/ssl/localcerts/{{ item.key }}/privkey.pem;
location / {
proxy_pass http://{{ item.value }};
proxy_set_header Host {{ item.key }};
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