Question
How to block custom bots on Plesk server?
Answer
It is possible to add the required bots into Fail2ban "apache-badbot" jail:
-
Go to Tools & Settings > IP Address Banning (Fail2Ban) > Jails and click on Manage Filters
-
Select apache-badbots.
-
Edit the existing filter by adding the required custom bots in the "badbotscustom" value separated by a pipe, e.g.: