From a0317886760e1dcc584bc8a9f584b2c1673eb931 Mon Sep 17 00:00:00 2001 From: notohh Date: Wed, 4 Oct 2023 21:49:22 -0400 Subject: [PATCH] traefik: add authelia --- hosts/sora/services/traefik.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hosts/sora/services/traefik.nix b/hosts/sora/services/traefik.nix index e22b011..5f8ad44 100644 --- a/hosts/sora/services/traefik.nix +++ b/hosts/sora/services/traefik.nix @@ -46,11 +46,19 @@ tls.domains = [{main = "*.flake.sh";}]; tls.certresolver = "production"; }; + authelia = { + rule = "Host(`passport.notohh.dev`)"; + entrypoints = ["websecure"]; + service = "authelia"; + tls.domains = [{main = "*.notohh.dev";}]; + tls.certresolver = "production"; + }; }; services = { uptime-kuma.loadBalancer.servers = [{url = "http://100.87.54.48:4000";}]; gotify.loadBalancer.servers = [{url = "http://100.87.54.48:3000";}]; conduit.loadBalancer.servers = [{url = "http://100.121.201.47:6167";}]; + authelia.loadBalancer.servers = [{url = "http://100.121.201.47:9091";}]; }; }; };