[pi4] Add proxy to keycloak

This commit is contained in:
2025-10-14 18:35:57 +00:00
parent 3eaa836098
commit 07fc2acecc

View File

@@ -15,7 +15,9 @@ let
inherit locations; inherit locations;
}; };
homelab = "http://${common.localIpAddr 231}"; 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: { redirect = subdomain: {
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;
@@ -85,6 +87,7 @@ in
# Donetick # Donetick
"chore.${domain}" = homelabProxy 2021; "chore.${domain}" = homelabProxy 2021;
"recurring-events-api.${domain}" = homelabProxy 8095; "recurring-events-api.${domain}" = homelabProxy 8095;
"iam.${domain}" = nidarosProxy 8081;
}; };
}; };