Want to subscribe to topics you're interested in?
Become a Member

Beta Branch add testcookie-nginx-module optional support in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Nov 10, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    49,005
    11,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,481
    Local Time:
    7:46 AM
    Nginx 1.21.x
    MariaDB 10.x
    add testcookie-nginx-module optional support in 123.09beta01

    - disabled by default via variable NGINX_TESTCOOKIE='n' and can be enabled be setting in persistent config file at /etc/centminmod/custom_config.inc set NGINX_TESTCOOKIE='y' to install testcookie-nginx-module as static module or enable an additional 2nd variable in persistent config file for NGXDYNAMIC_TESTCOOKIE='y' to install as dynamic module prior to running centmin.sh menu option 4 to recompile nginx with testcookie-nginx-module support
    - installs module only as configuration is left to end user i.e. Install - Upgrade - Nginx - CentOS 7.x - Anti-DDoS Mitigate: Automatic deploy/config Testcookie module for Centminmod (vCentminmod-DDoS)

    Continue reading...

    123.09beta01 branch


     
  2. eva2000

    eva2000 Administrator Staff Member

    49,005
    11,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,481
    Local Time:
    7:46 AM
    Nginx 1.21.x
    MariaDB 10.x
    example with of nginx with testcookie-nginx-module installed as dynamic nginx module with persistent config file at /etc/centminmod/custom_config.inc set variables
    Code (Text):
    NGXDYNAMIC_TESTCOOKIE='y'
    NGINX_TESTCOOKIE='y'
    

    dynamic modules include file /usr/local/nginx/conf/dynamic-modules.conf contents
    Code (Text):
    # place custom load_module lines in this dynamic-modules-includes.conf
    # file so that they persistent i.e. for manually dropped in dynamic modules
    include /usr/local/nginx/conf/dynamic-modules-includes.conf;
    load_module "modules/ngx_http_testcookie_access_module.so";
    load_module "modules/ngx_http_image_filter_module.so";
    load_module "modules/ngx_http_headers_more_filter_module.so";
    load_module "modules/ngx_http_set_misc_module.so";
    load_module "modules/ngx_http_echo_module.so";
    load_module "modules/ngx_http_fancyindex_module.so";
    load_module "modules/ngx_http_vhost_traffic_status_module.so";
    load_module "modules/ngx_pagespeed.so";
    load_module "modules/ngx_stream_module.so";
    
     
  3. rdan

    rdan Premium Member Premium Member

    5,299
    1,328
    113
    May 25, 2014
    Ratings:
    +2,052
    Local Time:
    5:46 AM
    Mainline
    10.2
    Anyone uses this with CMM?
    Seems project is almost abandoned based on github last commit.
     
  4. eva2000

    eva2000 Administrator Staff Member

    49,005
    11,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,481
    Local Time:
    7:46 AM
    Nginx 1.21.x
    MariaDB 10.x
    Yeah unfortunately doesn't get much updates. I haven't used it myself lately.