refactor: add custom request header for betterbahn service

This commit is contained in:
Philip Henning 2025-08-31 16:09:08 +02:00
parent e558caaa1b
commit e9d4569553

View file

@ -19,6 +19,8 @@ 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:3000"
- "traefik.http.routers.betterbahn-app-websecure.middlewares=secHeaders@file, autodetectContenttype@file, authentikProd@file, betterbahn-app-hostheader"
# whoami: # whoami:
# image: traefik/whoami # image: traefik/whoami
# networks: # networks: