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

Beta Branch add ORESTY_ECHOGIT option

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

  1. eva2000

    eva2000 Administrator Staff Member

    30,144
    6,782
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,132
    Local Time:
    5:54 PM
    Nginx 1.13.x
    MariaDB 5.5
    add ORESTY_ECHOGIT option

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

    Continue reading...

    123.09beta01 branch
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,144
    6,782
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,132
    Local Time:
    5:54 PM
    Nginx 1.13.x
    MariaDB 5.5
    same as https://community.centminmod.com/posts/26505/ adds ability to OpenResty echo 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_ECHOGIT=y
    NGXDYNAMIC_ECHO=y
    
    it enables openresety echo nginx module to be installed from github master source instead which is where echo nginx module's dynamic modules support is. Then set NGXDYNAMIC_ECHO=y too to enable dynamic modules for echo module and you get at /usr/local/nginx/modules
    Code:
    ls -lah /usr/local/nginx/modules
    total 1.8M
    drwxr-xr-x  2 root root 4.0K Feb 14 05:05 .
    drwxr-xr-x 10 root root 4.0K Feb 13 10:20 ..
    -rwxr-xr-x  1 root root 707K Feb 14 05:05 ngx_http_echo_module.so
    -rwxr-xr-x  1 root root 126K Feb 14 05:05 ngx_http_geoip_module.so
    -rwxr-xr-x  1 root root 292K Feb 14 05:05 ngx_http_headers_more_filter_module.so
    -rwxr-xr-x  1 root root 137K Feb 14 05:05 ngx_http_image_filter_module.so
    -rwxr-xr-x  1 root root 549K Feb 14 05:05 ngx_stream_module.so
    
    this was with /etc/centminmod/custom_config.inc persistent config file set to below options
    Code:
    ORESTY_ECHOGIT=y
    ORESTY_HEADERSMOREGIT=y
    NGXDYNAMIC_ECHO=y
    NGXDYNAMIC_HEADERSMORE=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_echo_module.so";
    load_module "modules/ngx_http_geoip_module.so";
    load_module "modules/ngx_stream_module.so";