• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question Blocking bad bots

Azurel

Silver Pleskian
I found this feature request
block bad bots by default

Alternatively, a tutorial on how to protect yourself with Plesk would be nice. IgorG wrote a little one
Instruction - Blocking extra bots using nginx
It would be nice if this becomes an official support example (plesk help center) with current agents and a little better explanation. The tutorial is already one year old and surely new agents appeared. See
atmire/COUNTER-Robots
or
monperrus/crawler-user-agents
or
- Bad Bots Bad Bots user-agent / bot
- Crawlers Crawlers user-agent / bot
- Scrapers Scrapers user-agent / bot

Where exactly should the entry be added, so that this block is for all domains?
So? Create a new "bad_bots.conf" in /etc/nginx/conf.d with
Code:
server {
    # List of scrapers and crawlers
    if ($http_user_agent ~ VALUE1|VALUE2) {
       return 444;
    }
}
 
Last edited:
Actually, Plesk WordPress Toolkit has Bot protection section in Security Check option. So, your WP sites can be protected out from the box.
 
Last edited:
Back
Top