From 753fff9c15387d62e32bc9794cb7a4714b9dd359 Mon Sep 17 00:00:00 2001 From: "Sergey G. Brester" Date: Mon, 23 Nov 2020 18:38:41 +0100 Subject: [PATCH] amend to #2750, add jail for new filter nginx-bad-request --- config/jail.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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