mirror of https://github.com/fail2ban/fail2ban
Add filter for nginx HTTP errors (4xx and 5xx)
An excessive number of errors is likely abuse of some kind. This may include application login errors, if the app responds with an appropriate HTTP status code.pull/3980/head
parent
fc3e8a5d37
commit
0bb3ed0b0c
|
@ -0,0 +1,7 @@
|
|||
# Nginx client and server errors (HTTP 4xx or 5xx)
|
||||
#
|
||||
# Author: David Cook
|
||||
# Inspired by https://serverfault.com/a/849859/959055
|
||||
|
||||
[Definition]
|
||||
failregex = <HOST> -.*"(GET|POST|HEAD).*HTTP.*" [4-5][0-9][0-9]
|
Loading…
Reference in New Issue