-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Description
After a clean install in magento 2.1.1 CE without sample data i've run into the issue that once i enabled and added an IP to the exepmtion list of the maintenance mode, this IP address seems to be overriden and not able to access the website as if the IP was not taken in count.
My setup is the next one:
PHP 7.0.13
Apache/2.4.10 (Debian)
nginx/1.10.1
varnish-4.0.2
mysql Ver 5.6
Steps to reproduce
Enable maintenance mode via ssh , once in the application folder
php bin/magento maintenance:enable --ip=xxx.xxx.xxx.xxx
xxx.xxx.xxx.xxx stands for my ip
Actual result
Once enabled i tried to access my website and goes directly to the 503 html page (like for everyone else no in the exemption list)
Expected result
Able to access my website while in maintenance mode.
As on this closed issue #4219 , i having the same issue as this post. IP added on the exemption, however when i try to access its like i wasnt even added on the exemption list.