Learn about Centmin Mod LEMP Stack today
Become a Member

Beta Branch add ngx_brotli dynamic module support

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

Tags:
  1. eva2000

    eva2000 Administrator Staff Member

    55,182
    12,251
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,829
    Local Time:
    9:49 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    add ngx_brotli dynamic module support

    via centmin.sh / or custom_config.inc variable NGXDYNAMIC_BROTLI='y' set in /etc/centminmod/custom_config.inc and run centmin.sh menu option 4 to recompile nginx 1.9.11+

    also needs NGINX_LIBBROTLI='y' set


    Code:
    NGXDYNAMIC_BROTLI='y'
    NGINX_LIBBROTLI='y'
    
    Continue reading...

    123.09beta01 branch
     
  2. eva2000

    eva2000 Administrator Staff Member

    55,182
    12,251
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,829
    Local Time:
    9:49 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    ngx_brotli as a dynamic module has just been added to Centmin Mod 123.09beta01 code.

    Working nicely it seems with /etc/centminmod/custom_config.inc persistent config file set to below options
    Code:
    NGXDYNAMIC_BROTLI=y
    NGINX_LIBBROTLI=y
    
    Code:
    dynamic module directory at /usr/local/nginx/modules
    total 18M
    drwxr-xr-x  2 root root 4.0K Feb 18 19:42 .
    drwxr-xr-x 10 root root 4.0K Feb 18 03:49 ..
    -rwxr-xr-x  1 root root 205K Feb 18 19:42 ngx_http_brotli_filter_module.so
    -rwxr-xr-x  1 root root 104K Feb 18 19:42 ngx_http_brotli_static_module.so
    -rwxr-xr-x  1 root root 122K Feb 18 19:42 ngx_http_geoip_module.so
    -rwxr-xr-x  1 root root 142K Feb 18 19:42 ngx_http_image_filter_module.so
    -rwxr-xr-x  1 root root  17M Feb 18 19:42 ngx_pagespeed.so
    -rwxr-xr-x  1 root root 545K Feb 18 19:42 ngx_stream_module.so