Update fail2ban-nginx-cc.conf

This commit is contained in:
科技lion 2024-04-09 15:15:51 +08:00 committed by GitHub
parent 2ee4b33232
commit 9b633263b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,4 +1,5 @@
[Definition]
# failregex = ^<HOST> .* "(GET|POST|HEAD).*HTTP.*" (404|503) .*$
failregex = ^<HOST> .* "(GET|POST|HEAD).*HTTP.*" (404|503|444) .*
# failregex = ^<HOST> .* "(GET|POST|HEAD).*HTTP.*" (404|503|444) .*
failregex = ^<HOST> .* "(GET|POST|HEAD).*HTTP.*" ([45]\d\d) .*
ignoreregex =.*(robots.txt|favicon.ico|jpg|png)