Update nginx-404.conf
This will only match 404 results, not 404 bytes.
This commit is contained in:
parent
81d22845b8
commit
76be73890e
|
|
@ -1,5 +1,5 @@
|
||||||
# Fail2Ban configuration file
|
# Fail2Ban configuration file
|
||||||
#
|
#
|
||||||
[Definition]
|
[Definition]
|
||||||
failregex = <HOST> - - \[.*\] "(GET|POST).*HTTP.* 404
|
failregex = <HOST> - - \[.*\] "(GET|POST).*HTTP[^ ]* 404
|
||||||
ignoreregex =
|
ignoreregex =
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue