fix: use replacepathregex (path-only) instead of redirectregex (full URL)
All checks were successful
CI / build (push) Successful in 41s
CI / docker (push) Successful in 5s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-05 23:19:28 +02:00
parent e5836bb9d5
commit bbace4698f

View File

@@ -153,9 +153,8 @@ services:
- traefik.http.routers.root-redirect.tls=true - traefik.http.routers.root-redirect.tls=true
- traefik.http.routers.root-redirect.middlewares=root-to-platform - traefik.http.routers.root-redirect.middlewares=root-to-platform
- traefik.http.routers.root-redirect.service=saas - traefik.http.routers.root-redirect.service=saas
- traefik.http.middlewares.root-to-platform.redirectregex.regex=^(https?://[^/]+)/?$$ - traefik.http.middlewares.root-to-platform.replacepathregex.regex=^/$$
- traefik.http.middlewares.root-to-platform.redirectregex.replacement=$$1/platform/ - traefik.http.middlewares.root-to-platform.replacepathregex.replacement=/platform/
- traefik.http.middlewares.root-to-platform.redirectregex.permanent=false
networks: networks:
- cameleer - cameleer