diff options
author | Michele Bologna <michele.bologna@gmail.com> | 2018-09-14 23:08:12 +0200 |
---|---|---|
committer | Michele Bologna <michele.bologna@gmail.com> | 2018-09-14 23:08:12 +0200 |
commit | 7e88ae0ee66628893a283d6fed06a347f9f6673e (patch) | |
tree | aabdf2d4368b0d8778537d2eaacad6b7ed872027 | |
parent | 1fb7ffe759f5d4ff73a6d271c5b98c8c18a0ad1c (diff) | |
download | fail2ban-7e88ae0ee66628893a283d6fed06a347f9f6673e.tar.gz |
Feat: add forbidden to jail.conf
-rw-r--r-- | config/jail.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/jail.conf b/config/jail.conf index 697c81dd..a6f2ac5a 100644 --- a/config/jail.conf +++ b/config/jail.conf @@ -390,6 +390,11 @@ port = http,https logpath = %(nginx_error_log)s maxretry = 2 +[nginx-forbidden] + +port = http,https +logpath = %(nginx_error_log)s +maxretry = 10 # Ban attackers that try to use PHP's URL-fopen() functionality # through GET/POST variables. - Experimental, with more than a year |