where are the logs for fail2ban?
-
I installed the plugin in a wordpress installation that uses the default wordpress:latest docker image. In my compose file I added a volume logs to write /var/log/apache2 to. However, after a deliberate failed login access.log just shows:
192.168.2.254 - - [18/Oct/2023:10:24:25 +0000] "POST /wp-login.php HTTP/1.1" 200 2358 "https://mydomain.com/wp-login.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"
error.log does not show anything useful either. How can I configure fail2ban? Where do I find or add the right logs?
It is behind Caddy, a reverse proxy? Not sure where those logs would be either.
- The topic ‘where are the logs for fail2ban?’ is closed to new replies.