i have the same problem. i can’t use photoprism (Docker Hub) with this jail. i log in, switch a path in the application on the subdomain and i am banned. i don’t get why because i don’t know a lot about the configuration of fail2ban. But i’m glad i found this thread and now i have to research how to disable this jail (even on swag container updates) or how to add some headers in the proxy-confs that can change that behaviour or how to whitelist a url?.. no idea.
For now i just added a much higher retry amount in for the nginx-authorized in the jail.local file and mount my custom jail.local in my docker-compose