This fail2ban configuration will ban the IP of any user that tried to access five (maxretry) different times in 10 minutes (findtime) without success. Note that the ban only will affect the ports 80 and 443, and the user with the banned IP will not be able to contact the web server for 10 minutes (bantime).

Before applying the configuration,test if the regex configuration is correct. To test this, browse to your Bitnami ownCloud login page and use a non-existent user/password to get a login error. Then, run this command: