Skip to content

Instantly share code, notes, and snippets.

@tanerdogan
Created October 23, 2014 01:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tanerdogan/243063d67068bd0fc74f to your computer and use it in GitHub Desktop.
Save tanerdogan/243063d67068bd0fc74f to your computer and use it in GitHub Desktop.
fail2ban nginx access_log 403/404 too many req ban rule
[Definition]
failregex = ^<HOST>.*"(GET|POST).*" (403|404) .*$
ignoreregex =
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment