Trying to fix header forwards to work correctly as HTTPS
Signed-off-by: karmacoma <karmacoma@karmacoma.dev>
This commit is contained in:
parent
743de70a79
commit
bc1a65a0e2
1 changed files with 6 additions and 1 deletions
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
services:
|
||||
authentik_postgresql:
|
||||
environment:
|
||||
|
|
@ -40,6 +39,12 @@ services:
|
|||
array:
|
||||
aliases:
|
||||
- auth-core
|
||||
labels:
|
||||
# 1. Define the Middleware (Forces HTTPS protocol header)
|
||||
- "traefik.http.middlewares.authentik-force-https.headers.customrequestheaders.X-Forwarded-Proto=https"
|
||||
# 2. Attach it to Coolify's generated Router
|
||||
# (Note: We usually append 'gzip' as Coolify adds it by default, ensuring we don't remove it)
|
||||
- "traefik.http.routers.https-0-j88cw4skoowsccs4oc44g0wg-authentik_server.middlewares=gzip,authentik-force-https"
|
||||
authentik_worker:
|
||||
command: worker
|
||||
depends_on:
|
||||
|
|
|
|||
Loading…
Reference in a new issue