Traefik + Bunny.net DNS & CDN -> seafile page directs

I have a setup in docker with traefik and seafile and I’m using bunny.net for DNS and CDN.

However, when I try to sign in, I enter my credentials followed by the 2FA code. Then I get “ERR_TOO_MANY_REDIRECTS”.

Does anyone have a suggestion about what I can do to solve this issue? What logs can be useful to post here (where to get them?)?