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

[fix] nginx.conf

This commit is contained in:
Anand Doshi 2015-08-20 19:18:40 +05:30
parent 7efc6793af
commit 27d64b6ea6

View File

@ -28,7 +28,9 @@ upstream socketio-server {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
{% if not dns_multitenant %}
proxy_set_header X-Frappe-Site-Name {{ site.name }};
{% endif %}
proxy_set_header Origin $http_host;
proxy_set_header Host $host;
}