Welcome to Centmin Mod Community
Register Now

Master Branch update nginx vhost generation routine in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jun 20, 2018.

  1. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    11:05 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    update nginx vhost generation routine in 123.09beta01

    Check system Linux kernel for SO_REUSEPORT support and auto add reuseport to HTTPS port 443 listen directive (only once) on nginx vhost generation. On a fresh Centmin Mod 123.09beta01+ and higher version install, this will apply to the very first Nginx HTTPS vhost you create via centmin.sh menu option 22, 22 or /usr/bin/nv command line or via addons/acemtool.sh. Subsequently Nginx HTTPS vhosts will skip adding reuseport as it is only meant to be added once per unique listen port number i.e. once for port 80 (already done in virtual.conf main hostname vhost) and once for very first port 443 created Nginx vhost.


    Continue reading...

    Centmin Mod Github Master branch

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