Skip to content

Instantly share code, notes, and snippets.

@lgoldstien
Created November 26, 2015 22:55
Show Gist options
  • Save lgoldstien/f23c60b38d8c60d657d9 to your computer and use it in GitHub Desktop.
Save lgoldstien/f23c60b38d8c60d657d9 to your computer and use it in GitHub Desktop.
[nginx-req-limit]
enabled = true
filter = nginx-req-limit
action = iptables-multiport[name=ReqLimit, port="http,https", protocol=tcp]
logpath = /var/log/nginx/*error.log
findtime = 600
bantime = 7200
maxretry = 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment