Welcome to Centmin Mod Community
Become a Member

Beta Branch update nginx compile routine in 130.00beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Oct 21, 2023.

  1. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:29 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    update nginx compile routine in 130.00beta01

    - properly account for deprecated NGINX_IPV variable as Nginx 1.11.5+ now includes Nginx IPv6 support natively out of the box, so no longer need to set NGINX_IPV='y'. But the previous Nginx compile routine ran a different Nginx configure command for when NGINX_IPV was set to y versus n and inadvertently left out some optimized configuration options related to Nginx built OpenSSL. So this update ensures if Nginx 1.11.5+ is detected, auto set NGINX_IPV='y' so that a more specific Nginx configure conditional routine is selected that applies Nginx built OpenSSL optimization options. This change only really impacts OpenSSL 1.1.1/3.x built Nginx and not BoringSSL/LibreSSL built Nginx so that Centmin Mod Nginx compilation routine builds a more optimized OpenSSL library for Nginx that detects the type of CPU supported on server and it's capabilities and sets optimally if supported the following Nginx option: --with-openssl-opt='enable-ec_nistp_64_gcc_128 enable-tls1_3 -fuse-ld=gold'
    - existing users can run cmupdate, then centmin.sh menu option 4 to recompile Nginx to take advantage of this update

    Continue reading...


    130.00beta01 branch

    Support Centmin Mod


    If you find Centmin Mod useful, please help support Centmin Mod