mirror of
https://github.com/frappe/bench.git
synced 2025-01-24 23:48:24 +00:00
[nginx] set X-Forwarded-Proto
This commit is contained in:
parent
a93acecd59
commit
1c9a9825b1
@ -25,6 +25,7 @@ upstream frappe {
|
||||
|
||||
location @magic {
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
{% if not dns_multitenant %}
|
||||
proxy_set_header X-Frappe-Site-Name {{ site.name }};
|
||||
{% endif %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user