You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/10/27 09:21:51 UTC

[GitHub] [superset] WI-KIWI commented on issue #20169: Superset and Traefik occasionally loses authentication for multiple routes

WI-KIWI commented on issue #20169:
URL: https://github.com/apache/superset/issues/20169#issuecomment-1293239838

   > I have temporary solved my initial problem by adding Traefik's basic auth and only checking `/` and `/login` routes via Fail2ban
   > 
   > ```
   > ignoreregex = ^<HOST> \- <usrre-<mode>> \[\] \"(?:<req-method>) (?!(\/ |\/login))[^\"]+\" (-|400|401|403|404).*superset[^\"]+\"
   > ```
   Hi @modrink , do you also use stripPrefix for Traefik and superset? I tried to deploy superset with helm chart, but it seems the path setting in value.yaml does not work for this `/login` route.
   ```
   ingress:
     enabled: true
     annotations:
         kubernetes.io/ingress.class: traefik
         traefik.ingress.kubernetes.io/rule-type: "PathPrefix"
         traefik.ingress.kubernetes.io/router.middlewares: "sset-stripprefix@kubernetescrd"
     path: /
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org