2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-09-19 18:49:01 +00:00

Merge pull request #300 from revant/fix-nginx-socketio-proxy

fix: nginx config
This commit is contained in:
Revant Nandgaonkar 2020-07-06 15:15:57 +05:30 committed by GitHub
commit 2344cab38a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;