Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
filter nginx failtoban
[Definition]
failregex = no user/password was provided for basic authentication.*client: <HOST>
user .* was not found in.*client: <HOST>
user .* password mismatch.*client: <HOST>
ignoreregex =
## FICHIER CONFIG jail.local
destemail = magicalex14000@gmail.com
mta = exim4
[nginx-auth]
enabled = true
filter = nginx-auth
action = iptables-multiport[name=NoAuthFailures, port="http,https"]
logpath = /var/log/nginx/rutorrent.error.log
banTime = 600
maxretry = 15
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.