bundles/nginx: also set host header for proxy connections
This commit is contained in:
parent
15eda05074
commit
8547948ce6
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ server {
|
||||||
% for location, proxy_pass in proxy.items():
|
% for location, proxy_pass in proxy.items():
|
||||||
location ${location} {
|
location ${location} {
|
||||||
proxy_pass ${proxy_pass};
|
proxy_pass ${proxy_pass};
|
||||||
|
proxy_set_header Host ${domain};
|
||||||
proxy_set_header X-Script-Name /;
|
proxy_set_header X-Script-Name /;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Proto HTTPS;
|
proxy_set_header X-Forwarded-Proto HTTPS;
|
||||||
|
|
Loading…
Reference in a new issue