Hello,
thank you for your handy scripts!
I have a question regarding the maintenance toggle shellscript: Why is it necessary to restart nginx each time the maintenance mode is toggled on/off? The file existence check in the maintenance-page.conf is executed for each nginx request, therefore in my tests it was only necessary to create the maintenance-page_on.html file without reloading nginx to turn the maintenance mode on.
Thank you,
Timon
Hello,
thank you for your handy scripts!
I have a question regarding the maintenance toggle shellscript: Why is it necessary to restart nginx each time the maintenance mode is toggled on/off? The file existence check in the
maintenance-page.confis executed for each nginx request, therefore in my tests it was only necessary to create themaintenance-page_on.htmlfile without reloading nginx to turn the maintenance mode on.Thank you,
Timon