[nginx-noscript] enabled = true port = http,https filter = nginx-noscript logpath = /var/log/nginx/access.log maxretry = 6
It is advised to not enable [nginx-noscript] jail, if server is running scripts. What are the types of scripts in this case?
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
Take a look at the failregex definition for the
nginx-noscript filter. You can typically find filters in
You may see something like this, which would restrict access to
# Noscript filter /etc/fail2ban/filter.d/nginx-noscript.conf: [Definition] failregex = ^<HOST> -.*GET.*(\.php|\.asp|\.exe|\.pl|\.cgi|\.scgi) ignoreregex =