diff --git a/flake.nix b/flake.nix index d664de4..edcae21 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,6 @@ # flake for blakes nixos config # define new devices in outputs -# generation: 324 current 2025-10-11 19:52:06 25.05.20251006.20c4598 6.12.50 * +# generation: 325 current 2025-10-11 19:55:21 25.05.20251006.20c4598 6.12.50 * { description = "blakes nix config"; inputs = { diff --git a/modules/homelab/services/home/zigbee2mqtt/default.nix b/modules/homelab/services/home/zigbee2mqtt/default.nix index 71acee3..f7a4565 100644 --- a/modules/homelab/services/home/zigbee2mqtt/default.nix +++ b/modules/homelab/services/home/zigbee2mqtt/default.nix @@ -105,8 +105,6 @@ in locations."/" = { proxyPass = "http://127.0.0.1:${toString cfg.port}"; extraConfig = - "proxy_set_header Upgrade $http_upgrade;" + - "proxy_set_header Connection upgrade;" + "proxy_set_header Host $host;" + "proxy_set_header X-Real-IP $remote_addr;" + "proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;"