diff --git a/fail2ban-nginx-cc.conf b/fail2ban-nginx-cc.conf index 4d634a2..f2b0874 100644 --- a/fail2ban-nginx-cc.conf +++ b/fail2ban-nginx-cc.conf @@ -4,6 +4,6 @@ # failregex = ^ .* "(GET|POST|HEAD).*HTTP.*" (403|404|429) .* # failregex = ^ .* "(GET|POST|HEAD).*HTTP.*" ([45]\d\d) .* # ignoreregex =.*(robots.txt|favicon.ico|jpg|png) -failregex = ^ .* HTTP.* (403|404|429) .*$ +failregex = ^ .* HTTP.* (403|429) .*$ ignoreregex = ^.*(\/(?:robots\.txt|favicon\.ico|.*\.(?:jpg|png|gif|jpeg|svg|webp|bmp|tiff|css|js|woff|woff2|eot|ttf|otf))$)