Discover Centmin Mod today
Register Now

Beta Branch update inc/nginx_upgrade.inc adjustments for switching to http/2 or back to spdy

Discussion in 'Centmin Mod Github Commits' started by eva2000, Sep 18, 2015.

  1. eva2000

    eva2000 Administrator Staff Member

    30,992
    6,919
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,423
    Local Time:
    4:22 PM
    Nginx 1.13.x
    MariaDB 5.5
    update inc/nginx_upgrade.inc adjustments for switching to http/2 or back to spdy

    automatic nginx vhost adjustments for nginx vhosts at /usr/local/nginx/conf/conf.d/* when switching from Nginx SPDY SSL to HTTP/2 SSL due to different listen directive needed and removing unsupported spdy related options when Nginx HTTP/2 is enabled. Also need to detect the reverse too, when switching back from Nginx HTTP/2 SSL to Nginx SPDY SSL

    This routine runs just before nginx service start after the exit status code for nginx upgrade returns value of 0 = successul install/upgrade of nginx. So if nginx upgrade fails the automatic adjustments are not applied

    Continue reading...

    123.09beta01 branch