forked from norman/fusionpbx-install.sh-github-mirror
Add NGINX 404 and DOS filters
This commit is contained in:
14
debian/resources/fail2ban/nginx-dos.conf
vendored
Normal file
14
debian/resources/fail2ban/nginx-dos.conf
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
# Fail2Ban configuration file
|
||||
|
||||
[Definition]
|
||||
# Option: failregex
|
||||
# Notes.: Regexp to catch a generic call from an IP address.
|
||||
# Values: TEXT
|
||||
#
|
||||
failregex = ^<HOST> -.*"(GET|POST).*HTTP.*"$
|
||||
|
||||
# Option: ignoreregex
|
||||
# Notes.: regex to ignore. If this regex matches, the line is ignored.
|
||||
# Values: TEXT
|
||||
#
|
||||
ignoreregex =
|
||||
Reference in New Issue
Block a user