-
Add nginx-404.conf to /etc/fail2ban/filter.d
-
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
-
Adjust bantime/findtime/maxretry accordingly
-
Notifications
You must be signed in to change notification settings - Fork 3
chriscohoat/fail2ban-filters
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Just a few custom fail2ban filters, for nginx/Apache/others
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published