I'm trying to get Fail2Ban working with the Confluence Server Docker Container and I've been following documentation: - https://confluence.atlassian.com/doc/using-fail2ban-to-limit-login-attempts-216433031.html.
In the documentation it states that the access log for Confluence is located at /var/log/httpd/confluence-access.log. When I access the running docker container and look for that log file, it's not there. The directory /var/log/httpd is there but there is no log file in there.
When I do a "lsof | grep .log" I can't see any open log files called "confluence-access.log".
Do I need to turn on access logging or something? Has anyone been able to get fail2ban working with the Confluence Server Docker Container?
Here is my compose file if that helps: -
Welcome to Atlassian Community! It's nice to have you.
The article you shared mentioned that you need to point to a known log file, as the Common Configuration listed is only an example. According to the prerequisites:
Requires Python 2.4 or higher to be installed
Requires Apache Reverse Proxy to be installed
Needs a specific file to follow, which means your Apache instance needs to log your Confluence access to a known logfile. You should adjust the configuration below appropriately.
I hope that's clear, but let me know if you have any further issues.
Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events