diff --git a/modules/erpnext.nix b/modules/erpnext.nix index 97befb2..ced0bba 100644 --- a/modules/erpnext.nix +++ b/modules/erpnext.nix @@ -313,7 +313,10 @@ in file_server } handle /socket.io/* { - reverse_proxy :${toString cfg.socketIoPort} + reverse_proxy :${toString cfg.socketIoPort} { + header_up X-Frappe-Site-Name "${cfg.domain}" + header_up Origin "{scheme}://${cfg.domain}" + } } reverse_proxy :${toString cfg.webserver.bindPort}