fix: use replacepathregex (path-only) instead of redirectregex (full URL)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user