diff options
author | Sergey G. Brester <serg.brester@sebres.de> | 2023-03-23 12:33:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-23 12:33:32 +0100 |
commit | a9b30eb86ea4367e7464c90f517b1e1da9c88020 (patch) | |
tree | b65d075d122fd1a320dd2f1276ff4fba873179e8 /config/jail.conf | |
parent | d1d1730de01de45820db062d811d9b91f261ea83 (diff) | |
parent | 9cbf59c82718a82887f7326d8f58bc0a185dc292 (diff) | |
download | fail2ban-a9b30eb86ea4367e7464c90f517b1e1da9c88020.tar.gz |
Merge pull request #2226 from mbologna/nginx-forbidden
Feat: ban nginx forbidden accesses
Diffstat (limited to 'config/jail.conf')
-rw-r--r-- | config/jail.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/jail.conf b/config/jail.conf index f4990e09..b2fb7ec0 100644 --- a/config/jail.conf +++ b/config/jail.conf @@ -395,6 +395,10 @@ logpath = %(nginx_error_log)s port = http,https logpath = %(nginx_access_log)s +[nginx-forbidden] +port = http,https +logpath = %(nginx_error_log)s + # Ban attackers that try to use PHP's URL-fopen() functionality # through GET/POST variables. - Experimental, with more than a year # of usage in production environments. |