Welcome to Centmin Mod Community
Register Now

Beta Branch update nginx dynamic module setup routine in 123.09beta01

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

  1. eva2000

    eva2000 Administrator Staff Member

    30,546
    6,849
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,262
    Local Time:
    8:46 AM
    Nginx 1.13.x
    MariaDB 5.5
    update nginx dynamic module setup routine in 123.09beta01

    add support to a custom include file /usr/local/nginx/conf/dynamic-modules-includes.conf that is included in /usr/local/nginx/conf/dynamic-modules.conf so you can place custom load_module nginx dynamic modules in /usr/local/nginx/conf/dynamic-modules-includes.conf to persist and survive 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

    30,546
    6,849
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,262
    Local Time:
    8:46 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.