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

Beta Branch update inc/nginx_configure.inc

Discussion in 'Centmin Mod Github Commits' started by eva2000, Feb 10, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    50,852
    11,782
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,234
    Local Time:
    6:17 AM
    Nginx 1.25.x
    MariaDB 10.x
    update inc/nginx_configure.inc

    Add placeholder variables in nginx configure lines for ${DYNAMICOPT_BEGIN} and ${DYNAMICOPT_MIDDLE}, these will be later used for custom user include file you can create at /etc/centminmod/custom_nginxmodules.inc so they can define their own --with-modulename=dynamic dynamic load flag https://community.centminmod.com/posts/26104/


    so you would create file at /etc/centminmod/custom_nginxmodules.inc and add to it either

    Code:
    DYNAMICOPT_BEGIN=' --with-modulename=dynamic'
    
    or

    Code:
    DYNAMICOPT_MIDDLE=' --with-modulename=dynamic'
    
    which variable to populate, either ${DYNAMICOPT_BEGIN} or ${DYNAMICOPT_MIDDLE} would depend where you want the module ordered in nginx order of install as nginx module ordering is important

    Continue reading...

    123.09beta01 branch
     
  2. eva2000

    eva2000 Administrator Staff Member

    50,852
    11,782
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,234
    Local Time:
    6:17 AM
    Nginx 1.25.x
    MariaDB 10.x