From 0058264fe17359a6e45a492a307b63e1b4c6b2bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Sat, 9 Nov 2024 14:07:40 +0100 Subject: [PATCH] Add home-assistant to proxy --- services/http-proxy/proxy.nix | 6 ++++++ services/ns/zones-home-2rjus-net.conf | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/services/http-proxy/proxy.nix b/services/http-proxy/proxy.nix index 5cdd859..c8a4bd1 100644 --- a/services/http-proxy/proxy.nix +++ b/services/http-proxy/proxy.nix @@ -14,6 +14,12 @@ http://sonarr.home.2rjus.net { reverse_proxy http://sonarr-jail.home.2rjus.net:8989 } + http://ha.home.2rjus.net { + reverse_proxy http://ha1.home.2rjus.net:8123 + } + http://z2m.home.2rjus.net { + reverse_proxy http://ha1.home.2rjus.net:8080 + } ''; }; } diff --git a/services/ns/zones-home-2rjus-net.conf b/services/ns/zones-home-2rjus-net.conf index efc6c3d..effa67b 100644 --- a/services/ns/zones-home-2rjus-net.conf +++ b/services/ns/zones-home-2rjus-net.conf @@ -1,7 +1,7 @@ $ORIGIN home.2rjus.net. $TTL 1800 @ IN SOA ns1.home.2rjus.net. admin.test.2rjus.net. ( - 2040 ; serial number + 2041 ; serial number 3600 ; refresh 900 ; retry 1209600 ; expire @@ -59,6 +59,8 @@ http-proxy IN A 10.69.13.11 nzbget IN CNAME http-proxy radarr IN CNAME http-proxy sonarr IN CNAME http-proxy +ha IN CNAME http-proxy +z2m IN CNAME http-proxy ca IN A 10.69.13.12 ; 22_WLAN