mirror of
https://github.com/frappe/bench.git
synced 2024-11-11 15:51:03 +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…
Reference in New Issue
Block a user