From 52dbc49c21d3575a0d579394566b9c2827c7a384 Mon Sep 17 00:00:00 2001 From: paulator Date: Wed, 6 May 2020 11:11:55 +0200 Subject: [PATCH] Fix socketio error in reverse proxy setup --- build/common/nginx-default.conf.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/common/nginx-default.conf.template b/build/common/nginx-default.conf.template index 076b2c42..f6e375fb 100644 --- a/build/common/nginx-default.conf.template +++ b/build/common/nginx-default.conf.template @@ -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 $scheme://$http_host; + proxy_set_header Origin $http_referer; proxy_set_header Host $http_host; proxy_pass http://socketio-server;