Welcome to Centmin Mod Community
Register Now

Nginx [nginx-announce] nginx-1.9.11

Discussion in 'Nginx and PHP-FPM news & discussions' started by eva2000, Feb 10, 2016.

  1. pamamolf

    pamamolf Premium Member Premium Member

    3,405
    320
    83
    May 31, 2014
    Ratings:
    +608
    Local Time:
    3:03 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    Wondering with latest Centminmod code for how long about the site is going down for upgrade Nginx and how long for php?
     
  2. eva2000

    eva2000 Administrator Staff Member

    41,088
    9,194
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,104
    Local Time:
    10:03 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    what do you mean down ? you mean how long nginx and php upgrade times ? depends on your server speed for length of update time

    it's own down for moment your restart nginx and php after update
     
  3. Sunka

    Sunka Well-Known Member

    1,103
    299
    83
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +481
    Local Time:
    2:03 PM
    Nginx 1.15.8
    MariaDB 10.3.12
    It is disabled like it was before last recompiling.
    Should I enable it (uncomment) and restart nginx to see what will be?

    Code:
    limit_req_zone $binary_remote_addr zone=xwplogin:16m rate=40r/m;
    #limit_conn_zone $binary_remote_addr zone=xwpconlimit:16m;
    
    more_set_headers "Server: nginx centminmod";
    more_set_headers "X-Powered-By: centminmod";
    
    include /usr/local/nginx/conf/vts_http.conf;
    include /usr/local/nginx/conf/geoip.conf;
    #include /usr/local/nginx/conf/maintenance.conf;
    
    #include /usr/local/nginx/conf/pagespeedadmin.conf;
    include /usr/local/nginx/conf/fastcgi_param_https_map.conf
     
  4. eva2000

    eva2000 Administrator Staff Member

    41,088
    9,194
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,104
    Local Time:
    10:03 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    yes please
     
  5. pamamolf

    pamamolf Premium Member Premium Member

    3,405
    320
    83
    May 31, 2014
    Ratings:
    +608
    Local Time:
    3:03 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    For how long the website will not work during the upgrade until it ends...(on a high end server about)
     
  6. eva2000

    eva2000 Administrator Staff Member

    41,088
    9,194
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,104
    Local Time:
    10:03 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    normal it's just down for the service restart command.

    i just added 503 maintenance mode support optionally to php, nginx upgrades too https://community.centminmod.com/posts/26485/ so 503 maintenance mode will be as long as entire nginx or php upgrade duration if you enable those 3 variables
     
    • Like Like x 1
  7. BobbyWibowo

    BobbyWibowo Active Member

    178
    39
    28
    Jul 30, 2015
    Indonesia
    Ratings:
    +62
    Local Time:
    7:03 PM
    1.17.x
    10.1.x
    Although I suppose it's not really necessary since the site will only be down during the restart, right? As far as my experience goes, restarting nginx and php only takes like 1 to 3 seconds.

    On a side note, any update about 1.9.11 with PageSpeed enabled?
     
  8. eva2000

    eva2000 Administrator Staff Member

    41,088
    9,194
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,104
    Local Time:
    10:03 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    yeah no necessary
    still same ngx_pagespeed 1.10.33.5 isn't coming until next Tuesday AFAIK

    added openresty headers more nginx module dynamic module support optionally via pulling headers more github master code https://community.centminmod.com/posts/26505/

    also did same for openresty echo nginx module https://community.centminmod.com/posts/26509/ and set-misc module https://community.centminmod.com/posts/26514/
     
    Last edited: Feb 14, 2016
    • Informative Informative x 1
  9. rdan

    rdan Well-Known Member

    4,561
    1,092
    113
    May 25, 2014
    Ratings:
    +1,601
    Local Time:
    8:03 PM
    Mainline
    10.2
    What if I don't want this maintenance mode Eva?
    How can disable it always?
    Thanks!
     
  10. BobbyWibowo

    BobbyWibowo Active Member

    178
    39
    28
    Jul 30, 2015
    Indonesia
    Ratings:
    +62
    Local Time:
    7:03 PM
    1.17.x
    10.1.x
    @RoldanLT AFAIK it's disabled by default.
     
    • Like Like x 1
  11. Sunka

    Sunka Well-Known Member

    1,103
    299
    83
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +481
    Local Time:
    2:03 PM
    Nginx 1.15.8
    MariaDB 10.3.12
    same error.
    Will update centmin now to include last 12 hours updates, recompile nginx again and try then to uncomment that line
     
  12. eva2000

    eva2000 Administrator Staff Member

    41,088
    9,194
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,104
    Local Time:
    10:03 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    yeah it's disabled by default, doesn't enable unless you type
    Code:
    sitestatus off
    yup
     
    • Informative Informative x 1
  13. Sunka

    Sunka Well-Known Member

    1,103
    299
    83
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +481
    Local Time:
    2:03 PM
    Nginx 1.15.8
    MariaDB 10.3.12
    Now nginx restarted OK with uncommented line for maintenance.conf (y)

     
    • Like Like x 1