Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
fail2ban jail settings for nginx 400 444 403 404 filtering on http https
#nano /etc/fail2ban/jail.conf
enabled = true
port = http,https
filter = nginx-4xx
logpath = /usr/local/nginx/logs/access.log
maxretry = 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.