Welcome to Centmin Mod Community
Register Now

Beta Branch Add nginScript support to 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Sep 24, 2015.

  1. eva2000

    eva2000 Administrator Staff Member

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,751
    Local Time:
    12:59 PM
    Nginx 1.13.x
    MariaDB 5.5
    Add nginScript support to 123.09beta01

    Nginx nginScript support https://www.nginx.com/blog/launching-nginscript-and-looking-ahead/ added via NGINX_NJS=n variable to centmin.sh. Disabled by default. You can enable nginScript support via editing centmin.sh and setting variable to =y instead of =n. Even better to allow the changes to use persist on Centmin Mod updates you can bypass the centmin.sh edit and use a persistent configuration file outlined at http://centminmod.com/upgrade.html - create file at /etc/centminmod/custom_config.inc and add to it below variable with desired =n or =y defaults and then recompile Nginx via centmin.sh menu option 4

    NGINX_NJS=y

    Continue reading...

    123.09beta01 branch
     
  2. eva2000

    eva2000 Administrator Staff Member

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,751
    Local Time:
    12:59 PM
    Nginx 1.13.x
    MariaDB 5.5
    just revisiting to make sure 123.09beta01 nginx 1.11.3 is working with nginScript module + dynamic nginx module support enabled via persistent config options in /etc/centminmod/custom_config.inc

    Code (Text):
    NGXDYNAMIC_NJS='y'
    NGINX_NJS='y'


    loaded nginx dynamic modules /usr/local/nginx/conf/dynamic-modules.conf
    Code (Text):
    load_module "modules/ngx_http_brotli_filter_module.so";
    load_module "modules/ngx_http_brotli_static_module.so";
    load_module "modules/ngx_http_js_module.so";
    load_module "modules/ngx_http_image_filter_module.so";
    load_module "modules/ngx_http_fancyindex_module.so";
    load_module "modules/ngx_stream_module.so";

    Nginx dynamic modules in /usr/local/nginx/modules
    Code (Text):
    ls -lah /usr/local/nginx/modules
    total 4.5M
    drwxr-xr-x  2 root root 4.0K Aug 25 16:15 .
    drwxr-xr-x 10 root root  128 Aug 21 02:13 ..
    -rwxr-xr-x  1 root root 124K Aug 25 16:15 ngx_http_brotli_filter_module.so
    -rwxr-xr-x  1 root root 124K Aug 21 21:31 ngx_http_brotli_filter_module.so.old
    -rwxr-xr-x  1 root root 114K Aug 25 16:15 ngx_http_brotli_static_module.so
    -rwxr-xr-x  1 root root 114K Aug 21 21:31 ngx_http_brotli_static_module.so.old
    -rwxr-xr-x  1 root root 141K Aug 25 16:15 ngx_http_fancyindex_module.so
    -rwxr-xr-x  1 root root 141K Aug 21 21:31 ngx_http_fancyindex_module.so.old
    -rwxr-xr-x  1 root root 140K Aug 25 16:15 ngx_http_image_filter_module.so
    -rwxr-xr-x  1 root root 140K Aug 21 21:31 ngx_http_image_filter_module.so.old
    -rwxr-xr-x  1 root root 839K Aug 25 16:15 ngx_http_js_module.so
    -rwxr-xr-x  1 root root 793K Aug 25 16:15 ngx_stream_js_module.so
    -rwxr-xr-x  1 root root 927K Aug 25 16:15 ngx_stream_module.so
    -rwxr-xr-x  1 root root 927K Aug 21 21:31 ngx_stream_module.so.old