# jail.conf [naxsi] enabled = true port = http,https filter = naxsi logpath = /var/log/nginx/error.log maxretry = 6 banaction = iptables-multiport-log action = %(action_mwl)s # filter.d/naxsi.conf [INCLUDES] before = common.conf [Definition] failregex = NAXSI_FMT: ip=Host ignoreregex = learning=1