Get the most out of your Centmin Mod LEMP stack
Become a Member

Master Branch More prep for pcre2 Nginx support & related updates in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Feb 1, 2022.

  1. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    10:19 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    More prep for pcre2 Nginx support & related updates in 123.09beta01

    - More prep work for pcre2 Nginx support for Nginx 1.21.5+ outlined at https://community.centminmod.com/threads/prep-for-pcre2-nginx-support-in-123-09beta01.22319/
    - Major revised work for following routines to change the location they're installed at from PREFIX = /usr/local to PREFIX = /usr/local/nginx-dep for GeoIP2 Lite Nginx module and it's libmaxmind library paths, custom libatomic_ops RPM, and Modsecurity routine which relies on libmaxmind library, ngx_brotli and nginx lua and luajit installs as well install separate pcre v8.45 for legacy support in new PREFIX = /usr/local/nginx-dep location. These changes will align with pcre2 v10.x installed PREFIX = /usr/local/nginx-dep path.
    - Prep for Nginx compile support using Mold linker https://github.com/rui314/mold as an alternative to GNU Gold linker
    - Add dropbox_send function to optionally allow sending of nginx_upgrade logs and pcre2 nginx upgrade logs to users Dropbox account either via detected Rclone install or via dbsend shell script detection. Disabled by default, unless persistent config file set variable DROPBOX_SEND='y' exists and addons/rclone.sh installed rclone or dbsend shell script is detected
    - If PCRE2 Nginx is enabled and Nginx Lua or Modsecurity Nginx module is also enabled, auto disable PCRE2 and switch back to PCRE due to incompatibility right now with PCRE2 and Nginx Lua or Modsecurity Nginx modules
    - Update OpenSSL routine to optionally support only running if OpenSSL version installed differs from OpenSSL version defined or if OPENSSL_FORCECOMPILE='y' is set in persistent config file. Should speed up Nginx compilation routine.Not enabled by default
    - Prep for OpenSSL 3.0.x support in Nginx & Nginx kTLS support when OpenSSL 3.0 + 5.2+ Linux Kernel detected
    - Update ccache routine for 4.4+ redis support

    Continue reading...


    Centmin Mod Github Master branch

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