Join the community today
Register Now

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

    31,025
    6,927
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,433
    Local Time:
    12:53 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
     
  2. eva2000

    eva2000 Administrator Staff Member

    31,025
    6,927
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,433
    Local Time:
    12:53 AM
    Nginx 1.13.x
    MariaDB 5.5