From 76be73890e66945756be56997cfff51ab90159c1 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 26 Oct 2016 12:02:48 -0600 Subject: [PATCH] Update nginx-404.conf This will only match 404 results, not 404 bytes. --- debian/resources/fail2ban/nginx-404.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/resources/fail2ban/nginx-404.conf b/debian/resources/fail2ban/nginx-404.conf index bf25532..f121f41 100644 --- a/debian/resources/fail2ban/nginx-404.conf +++ b/debian/resources/fail2ban/nginx-404.conf @@ -1,5 +1,5 @@ # Fail2Ban configuration file # [Definition] -failregex = - - \[.*\] "(GET|POST).*HTTP.* 404 -ignoreregex = \ No newline at end of file +failregex = - - \[.*\] "(GET|POST).*HTTP[^ ]* 404 +ignoreregex =