diff --git a/modules/homelab/services/smarthome/homeassistant/default.nix b/modules/homelab/services/smarthome/homeassistant/default.nix index 51816df..f8a316f 100644 --- a/modules/homelab/services/smarthome/homeassistant/default.nix +++ b/modules/homelab/services/smarthome/homeassistant/default.nix @@ -110,6 +110,8 @@ in ''; locations."/" = { proxyPass = "http://127.0.0.1:${toString cfg.port}"; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; }; }; # external reverse proxy entry @@ -122,6 +124,8 @@ in ''; locations."/" = { proxyPass = "http://127.0.0.1:${toString cfg.port}"; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; }; };