diff --git a/docker-compose.yml b/docker-compose.yml index c4f2865..02e1701 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -147,6 +147,13 @@ services: - traefik.http.routers.saas.entrypoints=websecure - traefik.http.routers.saas.tls=true - traefik.http.services.saas.loadbalancer.server.port=8080 + - traefik.http.routers.root-redirect.rule=Path(`/`) + - traefik.http.routers.root-redirect.entrypoints=websecure + - 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.redirectregex.regex=^/$ + - traefik.http.middlewares.root-to-platform.redirectregex.replacement=/platform/ networks: - cameleer