Web login protection

I’m running nextcloud on a debian machine, hosted on vps. I protect the operating system ssh access, using fail2ban. 3 failed login attempts and fail2ban blocks the ip permanently.

If there a way to also protect nextcloud from login attempts on the web interface?


Apache/2.4.25 (Debian)
PHP 7.0.30-0+deb9u1
Nextcloud 13
Debian 9.5
Nextcloud client 2.3.3 build 1

@aristosv You should check-out the Brute Force App or read this detailed Fail2Ban tutorial in German language which answers your question: Fail2Ban - Tutorial: Wie Ihr Eure Nextcloud-Installation mit Fail2Ban absichern könnt.