Welcome to Centmin Mod Community
Become a Member

Master Branch update centmin.sh menu option 22 & nginx vhost routines in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, May 15, 2019.

  1. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    7:27 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    update centmin.sh menu option 22 & nginx vhost routines in 123.09beta01

    - update wordpress auto installer routine in centmin.sh menu option 22
    - update nginx vhost creation routines detection for older OpenSSL 1.1.0 so checks no longer needed with OpenSSL 1.1.1* defaults
    - new wp cache method selection menu routine to do error checking confirmation of the selected menu option
    - create a wpinfo.sh script at /usr/local/nginx/conf/wpincludes/${vhostname}/wpinfo.sh where vhostname = your wordpress site domain, when you run the script it will output all relevant wordpress site install information for that wordpress site
    - update wordpress fastcgi_cache method routines - various bug fixes etc
    - add WP_AUTOPTIMIZE_GZIP='y' variable support https://community.centminmod.com/threads/15314/. If variable set in persistent config file /etc/centminmod/custom_config.inc prior to centmin.sh menu option 22 run, it will auto install Autoptimize Gzip companion wordpress plugin to precompress Autoptimize optimised js/css assets as by default Autoptimize wp plugin is already installed. By default css/js assets are gzip pre-compressed (.gz extension). However, starting with Autoptimize 2.5+, the Autoptimize Gzip companion wp plugin will also create brotli pre-compressed (.br extension) versions too. You will need to be using Centmin Mod 123.09beta01 and enable PHP compression extension support for PHP_BROTLI='y' at least as outlined at https://community.centminmod.com/threads/add-additional-php-compression-extensions-by-default-in-123-09beta01.16616/ and ensuring they have Nginx Brotli module enabled via NGXDYNAMIC_BROTLI='y' and NGINX_LIBBROTLI='y' variables (https://community.centminmod.com/threads/how-to-use-brotli-compression-for-centmin-mod-nginx-web-servers.10688/) prior to Centmin Mod Ngixn recompiles - which will also install Brotli library required to do the actual Brotli compression.

    Continue reading...

    Centmin Mod Github Master branch

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