Welcome to Centmin Mod Community
Become a Member

Nginx Nginx Ultimate Bad Block Blocker

Discussion in 'Install & Upgrades or Pre-Install Questions' started by EckyBrazzz, Apr 14, 2019 at 6:45 AM.

  1. EckyBrazzz

    EckyBrazzz Member

    73
    9
    8
    Mar 28, 2018
    Brazil
    Ratings:
    +19
    Local Time:
    1:43 PM
    1.15.10
    10.3.13
    Followed the Guide on Security - Nginx Ultimate Bad Block Blocker with sucses and want to ask if it's possible to add this to the vhost.conf by default.

    Code (Text):
      # uncomment ddos.conf and blockbots.conf include
      # if using the ultimate badbot blocker guide after testing
      # https://community.centminmod.com/threads/nginx-ultimate-bad-block-blocker.14413/
      #include /usr/local/nginx/conf/ultimate-badbot-blocker/bots.d/ddos.conf;
      #include /usr/local/nginx/conf/ultimate-badbot-blocker/bots.d/blockbots.conf;
    
     
  2. eva2000

    eva2000 Administrator Staff Member

    39,155
    8,647
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,296
    Local Time:
    2:43 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    • Useful Useful x 1
  3. diy

    diy New Member

    7
    2
    3
    Jan 14, 2019
    USA
    Ratings:
    +3
    Local Time:
    12:43 PM
    1.15.8
    10.3.12
    If I remember right just uncomment those two lines. I've been using the UBBB for a few months now and all of the configs have been altered, so my memory might not be 100% reliable. Run nginx -t after every config option edit and you should be fine though.

    After some customization and tuning the Ultimate Bad Bot Blocker works pretty good, in my opinion. It gets updated almost every day though (nginx gets restarted after each update) if you've setup the cronjob updater, which might not be desirable for many. One of my sites is a research honeypot that I use to gather knowledge to secure my main sites so it doesn't matter to me if something goes wrong during an update...
     
    • Informative Informative x 1
  4. EckyBrazzz

    EckyBrazzz Member

    73
    9
    8
    Mar 28, 2018
    Brazil
    Ratings:
    +19
    Local Time:
    1:43 PM
    1.15.10
    10.3.13
    @diy I know that. But for the ease of use I asked to put these 5 lines by default in the vhost.conf so that people who need it only have to uncomment those last two lines.

    It's the same as the people that use ngx_pagespeed. It's there by default, so people that want to use that only have to uncomment the lines to activate ngx_pagespeed and their set.
     
    • Like Like x 1
  5. eva2000

    eva2000 Administrator Staff Member

    39,155
    8,647
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,296
    Local Time:
    2:43 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    yeah as ultimate bad block blocker isn't included in centmin mod by default, then those lines wouldn't be included either unlike ngx_pagespeed.
     
    • Agree Agree x 1
..