Welcome to Centmin Mod Community
Become a Member

Master Branch ensure nginx brotli include files setup for initial installs

Discussion in 'Centmin Mod Github Commits' started by eva2000, Oct 29, 2018.

  1. eva2000

    eva2000 Administrator Staff Member

    59,283
    12,508
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,140
    Local Time:
    6:59 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    ensure nginx brotli include files setup for initial installs

    In 123.09beta01 nginx brotli is properly setup config file wise on nginx upgrades. But if you try initial Centmin Mod with nginx brotli, the brotli include file isn't setup yet as /usr/local/nginx/conf/brotli_inc.conf include file added to nginx.conf on the fly isn't able to be added due to inc/brotli.inc routines occuring before initial nginx install for the first time - there is no /usr/local/nginx/conf/nginx.conf at brotli setup stage yet for initial nginx first time installs. On subsequent nginx recompiles, /usr/local/nginx/conf/brotli_inc.conf include file is then properly setup in /usr/local/nginx/conf/nginx.conf.

    This update detects if nginx install is first time during initial Centmin Mod install and properly sets up /usr/local/nginx/conf/nginx.conf with /usr/local/nginx/conf/brotli_inc.conf include if NGINX_LIBBROTLI='y' is set.


    Continue reading...

    Centmin Mod Github Master branch

    Master branch is where most recent commits are made as at May 24, 2015.