Get the most out of your Centmin Mod LEMP stack
Become a Member

Install Nginx nginx bad bot blocker never got updated! Check your install!

Discussion in 'Install & Upgrades or Pre-Install Questions' started by EckyBrazzz, Dec 7, 2019 at 5:18 PM.

  1. EckyBrazzz

    EckyBrazzz Active Member

    772
    153
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +282
    Local Time:
    4:11 PM
    1.17.x Cluster
    10.3.x Cluster & Redis
    Hi there,

    Yesterday I installed another server with the famous blocker that most of us use.

    Saw, there was a commit made by Mitchell Krogg several hours earlier.

    Fine, improvement never hurts, so continue.

    But after a while I noticed that the default install is not updating. It sends an email, updated and so, but there is a trick you must change and or check.

    In the /usr/bin/sbin/update-ngxblocker

    change this part

    Code (Text):
    #CONF_DIR=/etc/nginx/conf.d
    CONF_DIR=/usr/local/nginx/conf/ultimate-badbot-blocker/conf.d
    #BOTS_DIR=/etc/nginx/bots.d
    BOTS_DIR=/usr/local/nginx/conf/ultimate-badbot-blocker/bots.d
    


    If you don't change it the updater will create a directory in the unchanged part /etc/nginx/bots.d
     
    • Informative Informative x 1