Welcome to Centmin Mod Community
Register Now

Beta Branch add ORESTY_SETMISCGIT option

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

  1. eva2000

    eva2000 Administrator Staff Member

    30,165
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,135
    Local Time:
    5:30 AM
    Nginx 1.13.x
    MariaDB 5.5
    add ORESTY_SETMISCGIT option

    when /etc/centminmod/custom_config.inc persistent config file set to:
    Code:
    ORESTY_SETMISCGIT=y
    
    and you recompile nginx via centmin.sh menu option 4, it will use OpenResty set-misc-nginx module's master branch instead of version specific branch https://github.com/openresty/set-misc-nginx-module

    Continue reading...

    123.09beta01 branch
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,165
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,135
    Local Time:
    5:30 AM
    Nginx 1.13.x
    MariaDB 5.5
    same as https://community.centminmod.com/posts/26505/ adds ability to OpenResty set-misc-nginx module to support using github master code + compile nginx 1.9.11 dynamic module

    when /etc/centminmod/custom_config.inc persistent config file set to below options + centmin.sh menu option 4 recompile of nginx:
    Code:
    ORESTY_SETMISCGIT=y
    NGXDYNAMIC_SETMISC=y
    
    it enables openresety set-misc-nginx module to be installed from github master source instead which is where set-misc-nginx module's dynamic modules support is. Then set NGXDYNAMIC_SETMISC=y too to enable dynamic modules for set-misc-nginx module and you get at /usr/local/nginx/modules
    Code:
    ls -lah /usr/local/nginx/modules
    total 2.7M
    drwxr-xr-x  2 root root 4.0K Feb 14 05:24 .
    drwxr-xr-x 10 root root 4.0K Feb 13 10:20 ..
    -rwxr-xr-x  1 root root 707K Feb 14 05:24 ngx_http_echo_module.so
    -rwxr-xr-x  1 root root 126K Feb 14 05:24 ngx_http_geoip_module.so
    -rwxr-xr-x  1 root root 292K Feb 14 05:24 ngx_http_headers_more_filter_module.so
    -rwxr-xr-x  1 root root 137K Feb 14 05:24 ngx_http_image_filter_module.so
    -rwxr-xr-x  1 root root 837K Feb 14 05:24 ngx_http_set_misc_module.so
    -rwxr-xr-x  1 root root 549K Feb 14 05:24 ngx_stream_module.so
    
    this was with /etc/centminmod/custom_config.inc persistent config file set to below options to enable dynamic module support via master branches of Openresty echo, headers more and set-misc nginx modules
    Code:
    ORESTY_ECHOGIT=y
    ORESTY_HEADERSMOREGIT=y
    ORESTY_SETMISCGIT=y
    NGXDYNAMIC_ECHO=y
    NGXDYNAMIC_HEADERSMORE=y
    NGXDYNAMIC_SETMISC=y
    
    and in nginx.conf include file /usr/local/nginx/conf/dynamic-modules.conf
    Code:
    load_module "modules/ngx_http_image_filter_module.so";
    load_module "modules/ngx_http_headers_more_filter_module.so";
    load_module "modules/ngx_http_set_misc_module.so";
    load_module "modules/ngx_http_echo_module.so";
    load_module "modules/ngx_http_geoip_module.so";
    load_module "modules/ngx_stream_module.so";