GitHub user thiagogquinto created a discussion: Login redirection does not use 
subpath prefix

I am using Traefik as a proxy for Superset, and I want to access the Superset 
app through the `/analytics` subpath.

I set the following environment variable:

```bash
SUPERSET_APP_ROOT="/analytics"
```

I can access Superset using the `/analytics` subpath, but after logging in, I 
am redirected to:

```text
https://localhost/superset/welcome/
```

However, the correct URL should be:

```text
https://localhost/analytics/superset/welcome/
```

What configurations should I add or change?

Below are the labels I am using for Superset:

```yaml
- "traefik.enable=true"
- "traefik.http.routers.superset.rule=Host(`localhost`) && 
PathPrefix(`/analytics`)"
- "traefik.http.routers.superset.entrypoints=websecure"
- "traefik.http.routers.superset.tls=true"
- "traefik.http.services.superset.loadbalancer.server.port=8088"
```

@dosu Please help

GitHub link: https://github.com/apache/superset/discussions/40082

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to