How to install latest and stable versione of NGINX Ultimate Bad Bot Blocker v4.2019.12.1919 for CWP and CWP PRO for Centos 7 !


  • Hi, please help me.

    How to install latest and stable versione of NGINX Ultimate Bad Bot Blocker v4.2019.12.1919 for CWP and CWP PRO for Centos 7 !

    If possible, could you write one of your guides ?

    This is the official link of NGINX Ultimate Bad Bot Blocker: https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker

    Tested and Work On:
    nginx version: nginx/1.10.x ✔
    nginx version: nginx/1.16.1 ✔
    nginx version: nginx/1.15.8 ✔
    nginx version: nginx/1.17.7 ✔

    This security tools block this:

    NGINX Ultimate Bad Bot Blocker Version: V4.2019.12.1919

    • Bad Referrers Blocked: 6804
    • Bad User-Agents (Bots) Blocked: 562
    • Fake Googlebots Blocked: 217

    ... and plus more ...

    The Ultimate NGINX (1.10.x > 1.17.7+) Bad Bot, User-Agent, Spam Referrer Blocker, Adware, Malware and Ransomware Blocker, Clickjacking Blocker, Click Re-Directing Blocker, SEO Companies and Bad IP Blocker with Anti DDOS System, Nginx Rate Limiting and Wordpress Theme Detector Blocking. Stop and Block all kinds of bad internet traffic from ever reaching your web sites.

    PLEASE SEE - Definition of Bad Bots:

    Bad bots are:
    Bad Referrers
    Bad User-Agent Strings
    Spam Referrers
    Spam Bots and Bad Bots
    Nuisance or Unwanted Bots
    Sites Linked to Lucrative Malware, Adware and Ransomware Clickjacking Campaigns
    Vulnerability scanners
    Gambling and Porn Web Sites
    E-mail harvesters
    Content scrapers
    Link Ranking Bots
    Aggressive bots that scrape content
    Image Hotlinking Sites and Image Thieves
    Bots or Servers linked to viruses or malware
    Government surveillance bots
    Botnet Attack Networks (Mirai)
    Known Wordpress Theme Detectors (Updated Regularly)
    SEO companies that your competitors use to try improve their SEO
    Link Research and Backlink Testing Tools
    Stopping Google Analytics Ghost Spam
    Browser Adware and Malware (Yontoo etc)

    (Over 4000 bad referers, spam referrers, user-agents, bad bots, bad IP's, porn, gambling and clickjacking sites, lucrative seo companies, wordpress theme detectors and counting).

    Includes the creation of a google-exclude.txt file for creating filters / segments in Google Analytics.
    Includes the creation of a google-disallow.txt file for use in Google Webmaster Tools.

    Thanks in advance for the support.


  • @Automata Hey, is everything okay?

    I was really crazy behind something like that, but really crazy 😂

    Thanks for the tip of the project, and I already took the liberty of starting to create a fork in the exclusive github for CWP-Pro.

    Initially I realized that there are some problems with inconsistencies with the standard installation of CWP, here are the problems:

    1 - The default folder that the project uses for VHosts is different from the one that the CWP uses.
    2 - The folder where the project domains is located is the default for a server with nginx (/var/www/...), in the CWP it is /home/
    3 - The installation and setup executable needs to be updated.
    4 - For me the most critical is that it blocks many bots of current SEO tools, like SemRush and Ahrefs, this is a problem for commercial customers.

    Well, I'm busy at the moment, but I will customize this project for the reality of the CentOS Web Panel and I believe that this will help everyone who uses the panel.

    Project git link: https://github.com/gplone/nginx-ultimate-bad-bot-blocker-cwp

    I already made the correction of items 2, 3 and 4 above, and soon I will update the Readme of the project to better explain the installation for the CWP, to install as it is, just follow the following recommendations:

    1 - Follow the standard tutorial until Step 5 (Before running setup-ngxblocker)
    2 - Update the /usr/local/sbin/setup-ngxblocker codes with the code that exists in the repository I created.
    3 - Perform Step 5 and 6 (Do not restart Nginx yet)
    4 - Update the /etc/nginx/conf.d/globalblacklist.conf file with the same file that exists in the repository.
    5 - Run the command nginx -t and if everything is OK, restart nginx using the systemctl restart nginx or via the panel.

    I am analyzing other things, and I will make the necessary customizations for the project to update only in the new repository and as I see other corrections I will make them, I even have a huge list of Bad IPs from Digital Ocean used by bots.

    If you have any updates you can send me that I will be happy to be able to integrate in the project.

    Enjoy 🤓


  • i don't think its pretty useful, you can configure 3 line configs in nginx (vhosts) to block bots and http references instead of using this bloated configs.


  • @sandeep The problem goes beyond just changing a few lines in Nginx.

    I have a series of bots and useragents that I need to control, and an installer helps me a lot.

    As I said in the previous post, the installer is mounted for a standard installation of Nginx or Easyengine that uses the same folder layout, so i need custom this for use with CWP.

    Another common problem is the lack of professionalism in CWP Updates....which in my opinion is the only negative point...as a hosting company we have no feedback on updates from the CWP team, and at least in the last 20 updates, half there were bugs.

    So I will continue to adapt this project to work with the CWP, with a view to quick maintenance in case of problems with the Panel.

    Good Sunday 🙂


  • great will test it in cwp and if possible will make a tutorial too.
    Regarding Cwp updates its going under complete make over for future updates and performance benefits. Soon you'll see much improved panel and NEW files manager is coming which is faster and js powered.


  • @sandeep said in How to install latest and stable versione of NGINX Ultimate Bad Bot Blocker v4.2019.12.1919 for CWP and CWP PRO for Centos 7 !:

    great will test it in cwp and if possible will make a tutorial too.
    Regarding Cwp updates its going under complete make over for future updates and performance benefits. Soon you'll see much improved panel and NEW files manager is coming which is faster and js powered.

    Hi "sandeep", you have any news about it ?

    Thanks in advance for the support.


  • yes in bug fix mode, we're testing it heavily


  • @sandeep

    @sandeep said in How to install latest and stable versione of NGINX Ultimate Bad Bot Blocker v4.2019.12.1919 for CWP and CWP PRO for Centos 7 !:

    yes in bug fix mode, we're testing it heavily

    Hi "sandeep", you have any news about it ?

    Thanks in advance for the support.

Recent Topics