Magento can enable maintenance through bin/magento maintenance:enable. This will set var/.maintenance.flag and/or var/.maintenance.ip in case any ip addresses have been whitelisted.
Unless you have shared storage like NFS this will not work in clustered environments.
Magento can enable maintenance through
bin/magento maintenance:enable. This will setvar/.maintenance.flagand/orvar/.maintenance.ipin case any ip addresses have been whitelisted.Unless you have shared storage like NFS this will not work in clustered environments.