Learn about Centmin Mod LEMP Stack today
Become a Member

Beta Branch update inc/nginx_configure.inc

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

Tags:
  1. eva2000

    eva2000 Administrator Staff Member

    30,161
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    5:58 AM
    Nginx 1.13.x
    MariaDB 5.5
    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