From 477d0bea34171c45213b181e2601fb8b0ad16a27 Mon Sep 17 00:00:00 2001 From: blake Date: Sat, 11 Oct 2025 00:37:49 -0500 Subject: [PATCH] 255 current 2025-10-11 00:13:49 25.05.20251006.20c4598 6.12.50 * --- .../services/smarthome/homeassistant/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/modules/homelab/services/smarthome/homeassistant/default.nix b/modules/homelab/services/smarthome/homeassistant/default.nix index f8a316f..d14329a 100644 --- a/modules/homelab/services/smarthome/homeassistant/default.nix +++ b/modules/homelab/services/smarthome/homeassistant/default.nix @@ -110,8 +110,10 @@ in ''; locations."/" = { proxyPass = "http://127.0.0.1:${toString cfg.port}"; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; + extraConfig = + "proxy_set_header Upgrade $http_upgrade;" + + "proxy_set_header Connection "upgrade";" + ; }; }; # external reverse proxy entry @@ -124,8 +126,10 @@ in ''; locations."/" = { proxyPass = "http://127.0.0.1:${toString cfg.port}"; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; + extraConfig = + "proxy_set_header Upgrade $http_upgrade;" + + "proxy_set_header Connection "upgrade";" + ; }; };