Welcome to Centmin Mod Community
Become a Member

Beta Branch fix fresh install abort when NGINX_LIBBROTLI or NGINX_ZSTD is enabled…

Discussion in 'Centmin Mod Github Commits' started by eva2000, Nov 25, 2026 at 3:54 PM.

  1. eva2000

    eva2000 Administrator Staff Member

    60,620
    12,635
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,302
    Local Time:
    8:39 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    fix fresh install abort when NGINX_LIBBROTLI or NGINX_ZSTD is enabled in 140.00beta01

    Fresh installs with NGINX_LIBBROTLI='y' or NGINX_ZSTD='y' aborted before nginx
    was built: ngxbrotli_download and nginx_zstd_setup edit nginx.conf, which does
    not exist yet at that stage, so they returned 2 and the funct_nginxconfigure
    PIPESTATUS checks failed the install.

    Changes:
    - inc/brotli.inc: only edit nginx.conf in ngxbrotli_download when it exists
    - inc/zstd_nginx.inc: only edit nginx.conf in nginx_zstd_setup when it exists
    - inc/nginx_install.inc: add the brotli_inc.conf and zstd_inc.conf includes after
    the nginx.conf template is copied on initial installs, so NGINX_LIBBROTLI='y'
    and NGINX_ZSTD='y' turn on brotli and zstd compression

    Continue reading...

    140.00beta01 branch