Created
November 3, 2022 10:22
-
-
Save ErvinLlojku/f76a09c1b17c5f2577c5c6c0f0111d4b to your computer and use it in GitHub Desktop.
Magento CLI scripts to enable/disable maintenance and allow visibility to certain IPs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Magento enable/disable maintenance | |
bin/magento maintenance:enable | |
bin/magento maintenance:disable | |
// Magento allow ips during maintenance | |
bin/magento maintenance:allow-ips xxx.xxx.xxx.xxx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment