Welcome to Centmin Mod Community
Register Now

Beta Branch ensure nginx brotli include files setup for initial installs

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

  1. eva2000

    eva2000 Administrator Staff Member

    58,895
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    8:10 PM
    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...

    123.09beta01 branch