diff --git a/config/jail.conf b/config/jail.conf index e6961a18..28f259a0 100644 --- a/config/jail.conf +++ b/config/jail.conf @@ -392,7 +392,10 @@ logpath = %(nginx_error_log)s port = http,https logpath = %(nginx_error_log)s -maxretry = 2 + +[nginx-bad-request] +port = http,https +logpath = %(nginx_access_log)s # Ban attackers that try to use PHP's URL-fopen() functionality