Learn about Centmin Mod LEMP Stack today
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

    55,155
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    5:23 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    55,155
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    5:23 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+

    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.