Plesk

How to block custom bots on a Plesk server?

Question

How to block custom bots on Plesk server?

Answer

It is possible to add the required bots into Fail2ban "apache-badbot" jail:

  1. Log in to Plesk.

  2. Go to Tools & Settings > IP Address Banning (Fail2Ban) > Jails and click on Manage Filters

  3. Select apache-badbots.

  4. Edit the existing filter by adding the required custom bots in the "badbotscustom" value separated by a pipe, e.g.:

Exit mobile version