fix: Go regexp replacement syntax ($1 not ${1})

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

View File

@@ -154,7 +154,7 @@ services:
- traefik.http.routers.root-redirect.middlewares=root-to-platform
- traefik.http.routers.root-redirect.service=saas
- traefik.http.middlewares.root-to-platform.redirectregex.regex=^(https?://[^/]+)/?$$
- traefik.http.middlewares.root-to-platform.redirectregex.replacement=$${1}/platform/
- traefik.http.middlewares.root-to-platform.redirectregex.replacement=$$1/platform/
- traefik.http.middlewares.root-to-platform.redirectregex.permanent=false
networks:
- cameleer