Im trying add traefik to add sentry in docker swarm stack but i have wrong redirection: mydomain.com/auth/login/
instead of mydomain.com/apps/sentry/auth/login/
My traefik config:
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.http.redirect]
entryPoint = "https"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
[[entryPoints.https.tls.certificates]]
certFile = "/run/secrets/cf_pub.pem"
keyFile = "/run/secrets/cf_priv.pem"
My configuration in stack:
- "traefik.docker.network=traefik"
- "traefik.enable=true"
- "traefik.frontend.rule=Host:mydomain.com;PathPrefixStrip:/apps/sentry/"
- "traefik.frontend.entryPoints=https,http"
- "traefik.port=9000"
- "traefik.domain=mydomain.com"
In sentry cant change root url.