From 9e0dfa74c1045b8c8265126ca3a3528224060eb7 Mon Sep 17 00:00:00 2001 From: karpenok Date: Tue, 10 Nov 2026 21:54:37 +0700 Subject: [PATCH] fix(traefik): send dashboard outpost paths to Authentik The dashboard host was forwarding /outpost.goauthentik.io through forward auth, so Authentik answered with its own Not Found page. Co-authored-by: Cursor --- .../roles/core_net/templates/dynamic/dashboard.yml.j2 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ansible/roles/core_net/templates/dynamic/dashboard.yml.j2 b/ansible/roles/core_net/templates/dynamic/dashboard.yml.j2 index 92a207e..8a5b1b7 100644 --- a/ansible/roles/core_net/templates/dynamic/dashboard.yml.j2 +++ b/ansible/roles/core_net/templates/dynamic/dashboard.yml.j2 @@ -2,6 +2,7 @@ http: routers: traefik-dashboard: rule: "Host(`proxy.gunihome.ru`)" + priority: 1 entryPoints: - websecure service: api@internal @@ -9,3 +10,11 @@ http: - authentik@file tls: certResolver: letsencrypt + traefik-dashboard-outpost: + rule: "Host(`proxy.gunihome.ru`) && PathPrefix(`/outpost.goauthentik.io`)" + priority: 100 + entryPoints: + - websecure + service: authentik@file + tls: + certResolver: letsencrypt