2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-08 22:31:07 +00:00

fix: nginx config

use $scheme://$http_host instead of $http_referer
fixes socketio
This commit is contained in:
Revant Nandgaonkar 2020-07-06 14:44:07 +05:30
parent 1867a541c6
commit 251d6590cf

View File

@ -30,7 +30,7 @@ server {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Frappe-Site-Name $host;
proxy_set_header Origin $http_referer;
proxy_set_header Origin $scheme://$http_host;
proxy_set_header Host $http_host;
proxy_pass http://socketio-server;