mirror of
https://github.com/frappe/bench.git
synced 2025-01-10 09:02:10 +00:00
Fix origin header for socketio
This commit is contained in:
parent
cb5295b387
commit
ce6398e10f
@ -31,7 +31,7 @@ upstream socketio-server {
|
|||||||
{% if not dns_multitenant %}
|
{% if not dns_multitenant %}
|
||||||
proxy_set_header X-Frappe-Site-Name {{ site.name }};
|
proxy_set_header X-Frappe-Site-Name {{ site.name }};
|
||||||
{% endif %}
|
{% endif %}
|
||||||
proxy_set_header Origin $http_host;
|
proxy_set_header Origin $scheme://$http_host;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user