From 65f2aa1d0cfe20097b485a940ea14a0fd2e53e63 Mon Sep 17 00:00:00 2001 From: Felix Tenley Date: Fri, 8 Oct 2021 19:11:19 +0200 Subject: [PATCH] fix(home-assistant): fix reverse proxy config --- services/home-assistant.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/home-assistant.nix b/services/home-assistant.nix index 7b3bdff..c08780c 100644 --- a/services/home-assistant.nix +++ b/services/home-assistant.nix @@ -84,6 +84,10 @@ in { }; default_config = { }; config = { }; + http = { + use_x_forwarded_for = true; + trusted_proxies = [ "127.0.0.1" ]; + }; "automation editor" = "!include automations.yaml"; automation = { }; frontend = { };