Join the community today
Register Now

Stable Branch update NGINX_UPDATEMAINTENANCE in 124.00stable

Discussion in 'Centmin Mod Github Commits' started by eva2000, May 12, 2022 at 3:34 PM.

  1. eva2000

    eva2000 Administrator Staff Member

    48,440
    11,102
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,281
    Local Time:
    7:52 PM
    Nginx 1.21.x
    MariaDB 10.x
    update NGINX_UPDATEMAINTENANCE in 124.00stable

    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...

    124.00stable branch