fail2ban: HTTP 404 error rules for Web frontends (Nginx, HAProxy, HTTP)
Creating fail2ban rules for HTTP error 404 (page not found) for popular web frontends: Nginx, HAProxy, Apache2. First of all you can check how to create custom rules article. Nginx Let’s create rule for Nginx HTTP error 404. 1. Log line: 123.44.55.66 – – [18/Jan/2019:10:16:53 +0000] GET /index.asp HTTP/1.1 “404” 1065 “-” “Mozilla/5.0 (Windows NT…