nginx-botsearch.conf 528 B

1234567891011121314151617181920
  1. # Fail2Ban filter to match web requests for selected URLs that don't exist
  2. #
  3. [INCLUDES]
  4. # Load regexes for filtering
  5. before = botsearch-common.conf
  6. [Definition]
  7. failregex = ^<HOST> \- \S+ \[\] \"(GET|POST|HEAD) \/<block> \S+\" 404 .+$
  8. ^ \[error\] \d+#\d+: \*\d+ (\S+ )?\"\S+\" (failed|is not found) \(2\: No such file or directory\), client\: <HOST>\, server\: \S*\, request: \"(GET|POST|HEAD) \/<block> \S+\"\, .*?$
  9. ignoreregex =
  10. # DEV Notes:
  11. # Based on apache-botsearch filter
  12. #
  13. # Author: Frantisek Sumsal