Proxy forward auth SSO.
This commit is contained in:
@@ -49,7 +49,14 @@ job "authentik" {
|
||||
port = "http"
|
||||
tags = [
|
||||
"traefik.enable=true",
|
||||
# Main UI
|
||||
"traefik.http.routers.authentik.entryPoints=websecure",
|
||||
"traefik.http.routers.authentik.rule=Host(`authentik.v.paler.net`) || Host(`authentik.alo.land`)",
|
||||
# Embedded outpost for forward auth
|
||||
"traefik.http.routers.authentik-palernet.entryPoints=websecure",
|
||||
"traefik.http.routers.authentik-palernet.rule=HostRegexp(`{subdomain:[a-z0-9-]+}.v.paler.net`) && PathPrefix(`/outpost.goauthentik.io/`)",
|
||||
"traefik.http.routers.authentik-aloland.entryPoints=websecure",
|
||||
"traefik.http.routers.authentik-aloland.rule=HostRegexp(`{subdomain:[a-z0-9-]+}.alo.land`) && PathPrefix(`/outpost.goauthentik.io/`)",
|
||||
]
|
||||
}
|
||||
service {
|
||||
|
||||
Reference in New Issue
Block a user