2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-11 15:51:03 +00:00

Fix origin header for socketio

This commit is contained in:
Pratik Vyas 2015-10-24 20:56:35 -07:00
parent cb5295b387
commit ce6398e10f

View File

@ -31,7 +31,7 @@ upstream socketio-server {
{% if not dns_multitenant %}
proxy_set_header X-Frappe-Site-Name {{ site.name }};
{% endif %}
proxy_set_header Origin $http_host;
proxy_set_header Origin $scheme://$http_host;
proxy_set_header Host $host;
}