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

Beta Branch add NGXDYNAMIC_MANUALOVERRIDE='n' variable to optional override nginx…

Discussion in 'Centmin Mod Github Commits' started by eva2000, Apr 8, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,573
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,755
    Local Time:
    4:00 AM
    Nginx 1.13.x
    MariaDB 5.5
    add NGXDYNAMIC_MANUALOVERRIDE='n' variable to optional override nginx dynamic module purge

    When set in centmin mod persistent config file /etc/centminmod/custom_config.inc to NGXDYNAMIC_MANUALOVERRIDE='y' you can override centmin mod default behavior to purge manually dropped in nginx dynamic modules from /usr/local/nginx/modules so they survive and persistent on nginx recompiles https://community.centminmod.com/threads/nginx-dynamic-modules-how-they-work.11189/#post-47801

    Continue reading...

    123.09beta01 branch
     
  2. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,573
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,755
    Local Time:
    4:00 AM
    Nginx 1.13.x
    MariaDB 5.5

    Nginx Dynamic Module Support Updates



    As per https://community.centminmod.com/threads/nginx-dynamic-modules-how-they-work.11189/

    Should have working nginx dynamic module manual drop in of modules working with these 4 committed updates in 123.09beta01+ and newer versions
    So for manually dropped in nginx dynamic modules placed in /usr/local/nginx/modules, you can set in centmin mod persistent config file /etc/centminmod/custom_config.inc to NGXDYNAMIC_MANUALOVERRIDE='y' you can override centmin mod default behavior to purge manually dropped in nginx dynamic modules from /usr/local/nginx/modules and then add to /usr/local/nginx/conf/dynamic-modules-includes.conf the load_module line i.e.
    Code (Text):
    load_module "modules/ngx_pagespeed.so";
    

    Then the Nginx dynamic module will persist even if it's control variable is set to = 'n' i.e. if NGINX_PAGESPEED='n' and NGXDYNAMIC_NGXPAGESPEED='n' is set.