diff --git a/hosts/pi4/nginx.nix b/hosts/pi4/nginx.nix index 7391e99..930b9e7 100644 --- a/hosts/pi4/nginx.nix +++ b/hosts/pi4/nginx.nix @@ -15,7 +15,9 @@ let inherit locations; }; homelab = "http://${common.localIpAddr 231}"; - homelabProxy = proxyTo homelab; # TODO get homelab local ip from systems + nidaros = "http://${common.localIpAddr 228}"; + homelabProxy = proxyTo homelab; # TODO get local ip from systems attrSet + nidarosProxy = proxyTo nidaros; redirect = subdomain: { enableACME = true; forceSSL = true; @@ -85,6 +87,7 @@ in # Donetick "chore.${domain}" = homelabProxy 2021; "recurring-events-api.${domain}" = homelabProxy 8095; + "iam.${domain}" = nidarosProxy 8081; }; };