I'm trying to trace a particular error and searched for it forever inside only to later find it inside so I was wondering how this works, are the error logs for each site always separated? I'm trying to do this: https://github.com/sergejmueller/sergejmueller.github.io/wiki/Nginx-Fail2Ban%3A-Antibot#definition-der-bots-als-botsmap namely let nginx flag an access if it is by a bot then refuse the connection with a 444 server code and log it. This all works fine but I now would like to have fail2ban monitor /var/logs/nginx/error.log and block those IPs so if they are all logged inside their own log file and not in a global one, how can I fix this, any suggestions?
Figured out I don't need an aggregate nginx log file, fail2ban can uses wildcards too like this: Code: logpath = /var/log/ispconfig/httpd/*/access.log