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

This commit is contained in:
Philip Henning 2025-08-31 17:06:22 +02:00
parent b3f8ccf7d6
commit 26b8d95c1d

View file

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