Skip to content

chriscohoat/fail2ban-filters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

nginx-404.conf

  1. Add nginx-404.conf to /etc/fail2ban/filter.d

  2. Add following to /etc/fail2ban/jail.conf

    [nginx-404]

    enabled = true port = http,https filter = nginx-404 logpath = <NGINX_ACCESS_PATH> bantime = 600 findtime = 600 maxretry = 5

  3. Adjust bantime/findtime/maxretry accordingly

About

Just a few custom fail2ban filters, for nginx/Apache/others

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published