Hello,
I have a nextcloud vm (CentOS 7) with a nginx webserver (php-fpm).
For external access I have a nginx reverse proxy on a separate vm which passes requests to my internal nextcloud nginx server.
I wanted to setup fail2ban on this reverse proxy to handle failed logins but I seem to always get a “200” http code no matter if I try a non-existent username or a wrong password. Is this correct behaviour or could it be a configuration error I made? I was hoping to get an error status code so I could apply a fail2ban filter directly on the dmz reverse proxy.
I hope this makes sense and thanks for all your work.