Update fail2ban-nginx-cc.conf

This commit is contained in:
科技lion 2025-01-24 14:06:36 +08:00 committed by GitHub
parent 1425067b79
commit 606e46c0a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,6 +4,6 @@
# failregex = ^<HOST> .* "(GET|POST|HEAD).*HTTP.*" (403|404|429) .*
# failregex = ^<HOST> .* "(GET|POST|HEAD).*HTTP.*" ([45]\d\d) .*
# ignoreregex =.*(robots.txt|favicon.ico|jpg|png)
failregex = ^<HOST> .* HTTP.* (403|404|429) .*$
failregex = ^<HOST> .* HTTP.* (403|429) .*$
ignoreregex = ^.*(\/(?:robots\.txt|favicon\.ico|.*\.(?:jpg|png|gif|jpeg|svg|webp|bmp|tiff|css|js|woff|woff2|eot|ttf|otf))$)