[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;
};
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;
};
};