diff --git a/bench/templates/nginx.conf b/bench/templates/nginx.conf index 31e2af20..068fc101 100644 --- a/bench/templates/nginx.conf +++ b/bench/templates/nginx.conf @@ -31,7 +31,7 @@ upstream socketio-server { {% if not dns_multitenant %} proxy_set_header X-Frappe-Site-Name {{ site.name }}; {% endif %} - proxy_set_header Origin $http_host; + proxy_set_header Origin $scheme://$http_host; proxy_set_header Host $host; }