Get the most out of your Centmin Mod LEMP stack
Become a Member

Beta Branch Fix Nginx dynamic module support with --with-compat flag in 123.09beta01

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

  1. eva2000

    eva2000 Administrator Staff Member

    51,210
    11,898
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,372
    Local Time:
    11:27 PM
    Nginx 1.25.x
    MariaDB 10.x
    Last edited: Apr 8, 2017
  2. eva2000

    eva2000 Administrator Staff Member

    51,210
    11,898
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,372
    Local Time:
    11:27 PM
    Nginx 1.25.x
    MariaDB 10.x

    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.