GitHub user thiagogquinto edited a comment on the discussion: Login redirection 
does not use subpath prefix

I'm using the code from branch 6.1.0. While most redirects are now working 
correctly, there are still two issues: the logout button and the Superset logo 
redirect to analytics/analytics instead of their intended destinations. 
Additionally, the images are not loading—only the text 'Apache Superset' 
appears instead.
<img width="1913" height="1040" alt="Screenshot from 2026-05-16 14-07-42" 
src="https://github.com/user-attachments/assets/3a62e212-610e-4b8a-b20f-539452f84629";
 />
<img width="1913" height="1040" alt="Screenshot from 2026-05-16 14-07-35" 
src="https://github.com/user-attachments/assets/c623e35a-d30f-4cf8-ac88-1a010768fc4d";
 />


My configuration:

- Labels on superset:
```yml
    labels:
      - "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.middlewares.superset-prefix.headers.customrequestheaders.X-Forwarded-Prefix=/analytics"
      - "traefik.http.routers.superset.middlewares=superset-prefix"
      - "traefik.http.services.superset.loadbalancer.server.port=8088"
```

- Commands on traefik:

```yml
    command:
        - "--providers.docker=true"
        - "--providers.file.filename=/etc/traefik/dynamic/tls.yml"
        - "--entrypoints.web.address=:80"
        - "--entrypoints.websecure.address=:443"
        # Redireciona automaticamente de HTTP para HTTPS
        - "--entrypoints.web.http.redirections.entryPoint.to=websecure"
        - "--entrypoints.web.http.redirections.entryPoint.scheme=https"
```
- .env:
```env
SUPERSET_APP_ROOT="/analytics"
```
[@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fsuperset)

GitHub link: 
https://github.com/apache/superset/discussions/40082#discussioncomment-16941471

----
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