Want more timely Centmin Mod News Updates?
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.

  1. EckyBrazzz

    EckyBrazzz Active Member

    873
    183
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +334
    Local Time:
    9:53 AM
    Latest
    Latest
    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
     
  2. Meirami

    Meirami Active Member

    150
    26
    28
    Dec 21, 2017
    Ratings:
    +61
    Local Time:
    2:53 PM
    Did you use this?
    Code:
    /usr/local/sbin/update-ngxblocker -c /usr/local/nginx/conf/ultimate-badbot-blocker -b /usr/local/nginx/conf/ultimate-badbot-blocker/bots.d -e yourmail@mail.com
    And I don't have
    /usr/local/nginx/conf/ultimate-badbot-blocker/conf.d Just bots.d
    I followed eva's guide. https://github.com/centminmod/centminmod-ultimate-bad-bot-blocker
     
  3. EckyBrazzz

    EckyBrazzz Active Member

    873
    183
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +334
    Local Time:
    9:53 AM
    Latest
    Latest
  4. asperty

    asperty New Member

    18
    15
    3
    Apr 13, 2019
    Ratings:
    +19
    Local Time:
    2:53 PM
    1.17.1
    10.3
    Very helpful thank you
     
  5. pamamolf

    pamamolf Premium Member Premium Member

    3,861
    379
    83
    May 31, 2014
    Ratings:
    +731
    Local Time:
    2:53 PM
    Nginx-1.17.x
    MariaDB 10.3.x
  6. EckyBrazzz

    EckyBrazzz Active Member

    873
    183
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +334
    Local Time:
    9:53 AM
    Latest
    Latest
    Last edited: May 20, 2020