Welcome to Centmin Mod Community
Register Now

Beta Branch update NGINX_UPDATEMAINTENANCE in 130.00beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, May 12, 2022.

  1. eva2000

    eva2000 Administrator Staff Member

    48,899
    11,189
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,423
    Local Time:
    10:16 AM
    Nginx 1.21.x
    MariaDB 10.x
    update NGINX_UPDATEMAINTENANCE in 130.00beta01

    When optional NGINX_UPDATEMAINTENANCE='y' is enabled via persistent config file variable, centmin.sh menu option 4's nginx upgrade/recompile routine will automatically put the all nginx vhost site doamins into 503 maintenance status mode so visitors can't access the sites. It's equivalent to manually enabling 503 maintenance mode via SSH command = sitestatus off outlined at https://community.centminmod.com/threads/sitestatus-maintenance-mode.5599/. However, if nginx fails to upgrade/recompile due to an error, the maintenance mode isn't disabled so leaves all nginx vhost site domains in 503 maintenance status mode until you manually disable it with SSH command = sitestatus on. This update, fixes this so failed centmin.sh menu option 4 runs will automatically turn off 503 maintenance mode if it was optionally enabled.

    Continue reading...


    130.00beta01 branch