rpi4: create other auth endpoints

This commit is contained in:
NullBite 2024-07-15 18:05:25 -04:00
parent 58ba628684
commit acb2cafcc4
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

View File

@ -156,12 +156,11 @@
mkAuthProxy = port: mkProxy { inherit port; authelia = true; };
mkReverseProxy = port: mkProxy { inherit port; };
in {
"auth.protogen.io" = {
forceSSL = true;
inherit useACMEHost;
authelia.endpoint.instance = "main";
};
in (lib.mapAttrs (domain: instance: { forceSSL = true; inherit useACMEHost; authelia.endpoint = { inherit instance; };}) {
"auth.protogen.io" = "main";
"auth.nbt.sh" = "nbt-sh";
"auth.proot.link" = "proot-link";
}) // {
"changedetection.protogen.io" = mkReverseProxy 5000;
# firefly