mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-22 15:55:09 +00:00
fix: nginx config
use $scheme://$http_host instead of $http_referer fixes socketio
This commit is contained in:
parent
1867a541c6
commit
251d6590cf
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ server {
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
proxy_set_header X-Frappe-Site-Name $host;
|
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_set_header Host $http_host;
|
||||||
|
|
||||||
proxy_pass http://socketio-server;
|
proxy_pass http://socketio-server;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue