Cette conf vaut pour Nginx et Apache.
[Definition] failregex = ^<HOST>.*"(GET|POST).*" (400|401|403|404) .*$
[http-errors] enabled = true port = http,https filter = http-errors logpath = /var/log/nginx/access.log # ou /var/log/apache2/access.log bantime = 1d findtime = 4h maxretry = 10