mirror of
https://github.com/frappe/bench.git
synced 2025-01-10 09:02:10 +00:00
[fix] nginx.conf
This commit is contained in:
parent
7efc6793af
commit
27d64b6ea6
@ -28,7 +28,9 @@ upstream socketio-server {
|
|||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
|
{% if not dns_multitenant %}
|
||||||
proxy_set_header X-Frappe-Site-Name {{ site.name }};
|
proxy_set_header X-Frappe-Site-Name {{ site.name }};
|
||||||
|
{% endif %}
|
||||||
proxy_set_header Origin $http_host;
|
proxy_set_header Origin $http_host;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user