Add Nginx Jails to Fail2Ban
Plesk has - praise be - increasingly better supported Nginx, now with the option to use only Nginx, which is great.
That being so, now we need the next logical step: The Fail2Ban Jails for Apache are available, but will have no effect, as Apache is not used at all any more. So we need some Jails for Nginx.
This is not exactly rocket science, there are plenty of examples to be found on the web, the Fail2Ban distribution has some, and here's an article on digitalocean:
Search for: fail2ban nginx 404
Note The 404 code is in proxyaccesslog + proxyaccessssllog, do not look in proxyerror_log (which says it in words, not codes:
"failed (2: No such file or directory), client: 126.96.36.199," And seems to sum messages over much longer times. Is it rotated at all?
Enough tips, I'm sure Plesk Team can do a great job.
Come on guys, vote this one up!
Thank you for your input! We will consider this functionality in upcoming releases if it will be popular.
Everyone, please continue voting for this feature if you consider it important.