Discover Centmin Mod today
Register Now

Beta Branch nginx 1.21.6 default in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jan 27, 2022.

  1. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:39 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
  2. rdan

    rdan Well-Known Member

    5,452
    1,418
    113
    May 25, 2014
    Ratings:
    +2,212
    Local Time:
    7:39 AM
    Mainline
    10.2
    So without custom_config needed to setup, and the default is PCRE2?
     
  3. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:39 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    With latest Nginx PCRE2 optional support update, to switch to PCRE2 support for Nginx 1.21.5+, you need to update your persistent config file at /etc/centminmod/custom_config.inc (if it doesn't exist create it) and add the variable to enable Nginx PCRE2 support.
    Code (Text):
    NGINX_PCRE_TWO='y'

    Then run centmin.sh menu option 4 and update/recompile to Nginx version 1.21.5 or higher which support PCRE2.

    Example
    Code (Text):
    ldd $(which nginx)
            linux-vdso.so.1 =>  (0x00007ffedb512000)
            libpcre2-8.so.0 => /usr/local/nginx-dep/lib/libpcre2-8.so.0 (0x00007f885d0e8000)
            libjemalloc.so.1 => /lib64/libjemalloc.so.1 (0x00007f885cd2d000)
            libdl.so.2 => /lib64/libdl.so.2 (0x00007f885cb29000)
            libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f885c90d000)
            libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f885c6d6000)
            libGeoIP.so.1 => /lib64/libGeoIP.so.1 (0x00007f885c4a4000)
            libatomic_ops.so.1 => /usr/local/nginx-dep/lib/libatomic_ops.so.1 (0x00007f885c2a2000)
            libc.so.6 => /lib64/libc.so.6 (0x00007f885bed4000)
            /lib64/ld-linux-x86-64.so.2 (0x00007f885cf61000)
            libfreebl3.so => /lib64/libfreebl3.so (0x00007f885bcd1000)
    

    Code (Text):
    PKG_CONFIG_PATH='/usr/local/nginx-dep/lib/pkgconfig/' pkg-config --modversion libpcre2-8
    10.39
    

    libatomic_ops also got updated in Centmin Mod Nginx builds
    l
    Code (Text):
    PKG_CONFIG_PATH='/usr/local/nginx-dep/lib/pkgconfig/' pkg-config --modversion atomic_ops
    7.6.12
    

    Code (Text):
    yum -q info centmin-libatomic_ops
    Installed Packages
    Name        : centmin-libatomic_ops
    Arch        : x86_64
    Version     : 7.6.12
    Release     : 1.el7
    Size        : 713 k
    Repo        : installed
    From repo   : /centmin-libatomic_ops-7.6.12-1.el7.x86_64
    Summary     : libatomic_ops-7.6.12 for centminmod.com LEMP stack libatomic_ops-7.6.12
    URL         : https://centminmod.com
    License     : unknown
    Description : libatomic_ops-7.6.12 for centminmod.com LEMP stacks
    
     
    Last edited: Jan 27, 2022
  4. pdinh97qng

    pdinh97qng Member

    121
    15
    18
    Jan 24, 2016
    Ratings:
    +39
    Local Time:
    4:39 PM
    So no hpack + dynamicTLS for nginx 1.21.5+
     
  5. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    9:39 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Supported just not enabled with 1.21.6 yet