2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-10 00:37:51 +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 %} {% 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;
} }