fix: update custom request header for betterbahn service to use localhost

This commit is contained in:
Philip Henning 2025-08-31 17:04:26 +02:00
parent de95858028
commit b3f8ccf7d6

View file

@ -22,7 +22,7 @@ services:
- "traefik.http.routers.betterbahn-app-websecure.tls=true"
- "traefik.http.routers.betterbahn-app-websecure.tls.certresolver=hetzner"
- "traefik.http.routers.betterbahn-app-websecure.tls.domains[0].main=${TLS_DOMAIN}"
- "traefik.http.middlewares.betterbahn-app-hostheader.headers.customrequestheaders.Host=betterbahn"
- "traefik.http.middlewares.betterbahn-app-hostheader.headers.customrequestheaders.Host=localhost"
- "traefik.http.routers.betterbahn-app-websecure.middlewares=secHeaders@file, autodetectContenttype@file, authentikProd@file, betterbahn-app-hostheader"
# whoami:
# image: traefik/whoami