mirror of
https://github.com/frappe/bench.git
synced 2025-01-09 16:36:25 +00:00
pass Host head in case of dns_multitenant
This commit is contained in:
parent
6e148971d2
commit
86672c927a
@ -33,6 +33,8 @@ upstream frappe {
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
{% if not dns_multitenant %}
|
||||
proxy_set_header Host {{ site.name }};
|
||||
{% else %}
|
||||
proxy_set_header Host $host;
|
||||
{% endif %}
|
||||
proxy_set_header X-Use-X-Accel-Redirect True;
|
||||
proxy_read_timeout {{http_timeout}};
|
||||
|
Loading…
Reference in New Issue
Block a user