authentik: point forward-auth snippet at LAN outpost (192.168.8.6)

Forward-auth now validates against the VPS Authentik core via a dedicated
LAN outpost (auth-outpost LXC 106), not LXC 124's frozen embedded outpost.
Resolves the post-migration split-brain. 192.168.8.180:9000 -> 192.168.8.6:9000.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-01 00:31:08 +02:00
parent db7f8fbf4e
commit 6ea8e727d4

View File

@@ -2,8 +2,8 @@
# Usage: add "import authentik" inside any site block to gate it. # Usage: add "import authentik" inside any site block to gate it.
(authentik) { (authentik) {
route { route {
reverse_proxy /outpost.goauthentik.io/* http://192.168.8.180:9000 reverse_proxy /outpost.goauthentik.io/* http://192.168.8.6:9000
forward_auth http://192.168.8.180:9000 { forward_auth http://192.168.8.6:9000 {
uri /outpost.goauthentik.io/auth/caddy uri /outpost.goauthentik.io/auth/caddy
copy_headers X-Authentik-Username X-Authentik-Groups X-Authentik-Email X-Authentik-Name X-Authentik-Uid X-Authentik-Jwt X-Authentik-Meta-Jwks X-Authentik-Meta-Outpost X-Authentik-Meta-Provider X-Authentik-Meta-App X-Authentik-Meta-Version copy_headers X-Authentik-Username X-Authentik-Groups X-Authentik-Email X-Authentik-Name X-Authentik-Uid X-Authentik-Jwt X-Authentik-Meta-Jwks X-Authentik-Meta-Outpost X-Authentik-Meta-Provider X-Authentik-Meta-App X-Authentik-Meta-Version
trusted_proxies private_ranges trusted_proxies private_ranges
@@ -170,7 +170,7 @@ auth.hubris.network {
tls { tls {
dns ionos {env.IONOS_AUTH_API_TOKEN} dns ionos {env.IONOS_AUTH_API_TOKEN}
} }
reverse_proxy 192.168.8.180:9000 reverse_proxy 192.168.8.6:9000
} }
artifacto.hubris.network { artifacto.hubris.network {