Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [nginxaccess]
- enabled = true
- filter = nginxaccess
- # "bantime" is the number of seconds that a host is banned.
- bantime = 6000
- # A host is banned if it has generated "maxretry" during the last "findtime"
- # seconds.
- findtime = 60
- # "maxretry" is the number of failures before a host get banned.
- maxretry = 150
- action = blackhole
- logpath = /var/log/nginx-access.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement