Skip to content

Exempt maintenance ip not working #7596

@luismaldonadov

Description

@luismaldonadov

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions