Compare commits
2 Commits
0c901180d9
...
5503c2c6f4
| Author | SHA1 | Date | |
|---|---|---|---|
|
5503c2c6f4
|
|||
|
82ed5a3fb0
|
@@ -61,11 +61,6 @@ services:
|
||||
traefik.http.routers.authentik.entrypoints: "https"
|
||||
traefik.http.routers.authentik.tls.certresolver: "cloudflare"
|
||||
traefik.http.services.authentik.loadbalancer.server.port: "9000"
|
||||
# Authentik Outpost (Handling auth callbacks for all domains)
|
||||
traefik.http.routers.authentik-outpost.rule: "HostRegexp(`{host:.+}`) && PathPrefix(`/outpost.goauthentik.io/`)"
|
||||
traefik.http.routers.authentik-outpost.entrypoints: "https"
|
||||
traefik.http.routers.authentik-outpost.tls.certresolver: "cloudflare"
|
||||
traefik.http.routers.authentik-outpost.service: "authentik"
|
||||
# Homepage
|
||||
homepage.group: "Management"
|
||||
homepage.name: "Authentik"
|
||||
|
||||
@@ -27,11 +27,6 @@ services:
|
||||
- "traefik.http.routers.traefik.entrypoints=https"
|
||||
- "traefik.http.routers.traefik.service=api@internal"
|
||||
- "traefik.http.routers.traefik.tls.certresolver=cloudflare"
|
||||
# Authentik Forward Auth Middleware
|
||||
- "traefik.http.middlewares.authentik.forwardauth.address=http://authentik-server:9000/outpost.goauthentik.io/auth/traefik"
|
||||
- "traefik.http.middlewares.authentik.forwardauth.trustForwardHeader=true"
|
||||
- "traefik.http.middlewares.authentik.forwardauth.authResponseHeaders=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"
|
||||
- "traefik.http.routers.traefik.middlewares=authentik"
|
||||
networks:
|
||||
- traefik_public
|
||||
|
||||
|
||||
Reference in New Issue
Block a user