[pi4] Add proxy to keycloak
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user