From 2978da94e23d3f5f8ea7cff2c0dad356f493387c Mon Sep 17 00:00:00 2001 From: jasper Date: Wed, 10 Dec 2025 13:39:55 +0100 Subject: [PATCH] Update traefik/dynamic/authentik.yml --- traefik/dynamic/authentik.yml | 49 +++++++++++++++++++++++------------ 1 file changed, 32 insertions(+), 17 deletions(-) diff --git a/traefik/dynamic/authentik.yml b/traefik/dynamic/authentik.yml index 24d94df..33178e7 100644 --- a/traefik/dynamic/authentik.yml +++ b/traefik/dynamic/authentik.yml @@ -1,22 +1,37 @@ -http: - middlewares: - authentik: - forwardAuth: - address: "http://auth.japnet.nl:9000/outpost.goauthentik.io/auth/traefik-dashboard" - trustForwardHeader: true - authResponseHeaders: - - X-authentik-username - - X-authentik-groups - - X-authentik-email - - X-authentik-name +# http: +# middlewares: +# authentik: +# forwardAuth: +# address: "http://auth.japnet.nl:9000/outpost.goauthentik.io/auth/traefik-dashboard" +# trustForwardHeader: true +# authResponseHeaders: +# - X-authentik-username +# - X-authentik-groups +# - X-authentik-email +# - X-authentik-name +# routers: +# traefik-dashboard: +# rule: "Host(`traefik.japnet.nl`)" +# entryPoints: +# - websecure +# middlewares: +# - authentik +# service: api@internal +# tls: +# certResolver: cf +http: routers: - traefik-dashboard: - rule: "Host(`traefik.japnet.nl`)" + auth: + rule: Host("auth.japnet.nl") entryPoints: - websecure - middlewares: - - authentik - service: api@internal + service: auth tls: - certResolver: cf \ No newline at end of file + certResolver: cf # of hoe jouw resolver heet + + services: + auth: + loadBalancer: + servers: + - url: http://server:9000 \ No newline at end of file