I installed NextCloud on Ubuntu 18 using the guide at https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-nextcloud-on-ubuntu-18-04
Now I want to install fail2ban. The installation went OK and I can see fail2ban jail for sshd. The fail2ban log files show activity.
Questions: If I am running NextCloud do I need to configure fail2ban to handle apache log (by enabling apache-auth) ?
Does the NetCloud login page failures get logged to apache error_log?
If yes, how do I configure fail2ban to use the correct log file. Since apache was installed via snap its log file location is at a different path.
Sorry, I am new to this so I may be asking something obvious or may not have provided sufficient information. Do let me know if I should add any more information.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!