fix: capture group in redirectregex for root redirect
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -153,7 +153,9 @@ services:
|
||||
- traefik.http.routers.root-redirect.tls=true
|
||||
- traefik.http.routers.root-redirect.middlewares=root-to-platform
|
||||
- traefik.http.routers.root-redirect.service=saas
|
||||
- traefik.http.middlewares.root-to-platform.replacepath.path=/platform/
|
||||
- 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.permanent=false
|
||||
networks:
|
||||
- cameleer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user