[forward auth]

This commit is contained in:
2024-07-28 19:07:13 +02:00
parent a120db32dd
commit 6d45292515

View File

@@ -290,12 +290,13 @@
- "traefik.http.routers.auth.rule=Host(`auth.jingoh.private`)"
- "traefik.http.routers.auth.entrypoints=websecure"
- "traefik.http.routers.auth.tls=true"
- "traefik.http.routers.auth-https.middlewares=privatevpn"
- "traefik.http.routers.auth.middlewares=privatevpn"
- "traefik.http.routers.auth.service=auth@docker"
- "traefik.http.services.auth.loadbalancer.server.port=4181"
- "traefik.http.middlewares.forward-auth.forwardauth.address=http://forward-auth:4181"
- "traefik.http.middlewares.forward-auth.forwardauth.trustForwardHeader=true"
- "traefik.http.middlewares.forward-auth.forwardauth.authResponseHeaders=X-Forwarded-User"
- "traefik.http.routers.auth.middlewares=forward-auth"
placement:
constraints:
- node.role == manager