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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]