2
0
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:
Anand Doshi 2015-08-03 10:48:43 +05:30
parent a93acecd59
commit 1c9a9825b1

View File

@ -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 %}