Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Manage Maintenance mode by IP with Varnish #1072

Closed
franckgarnier21 opened this issue Mar 22, 2017 · 3 comments
Closed

Manage Maintenance mode by IP with Varnish #1072

franckgarnier21 opened this issue Mar 22, 2017 · 3 comments
Assignees
Labels
Not DevDocs Issue/PR belongs in different forum; not DevDocs related

Comments

@franckgarnier21
Copy link

franckgarnier21 commented Mar 22, 2017

Feedback on page: /guides/v2.1/install-gde/install/cli/install-cli-subcommands-maint.html

How can we activate Maintenance mode by IPs working with Varnish ?

First I update the nginx configuration in order to retrieve the real customer IP 👍
set_real_ip_from 127.0.0.1; #Put the Ip of your varnish/proxy here
real_ip_header X-Forwarded-For; #Put the Header that your varnish/proxy set

But how can I manage the page which is already cached by Varnish and then is not retrieved by Nginx.

It can be an issue if the site is open for a specific IP, then varnish cache these pages, then other IPs will be able to see these pages.

Many thanks.

@ghost ghost self-assigned this Mar 22, 2017
@ghost
Copy link

ghost commented Mar 22, 2017

We might not be able to answer this question here. I see you've already asked this on the Magento 2 GitHub issue page. Have you also asked on stackexchange?

@ghost ghost added Not DevDocs Issue/PR belongs in different forum; not DevDocs related Waiting for Response Waiting for response from internal/external parties labels Mar 22, 2017
@franckgarnier21
Copy link
Author

franckgarnier21 commented Mar 22, 2017

Thanks, issue related magento/magento2#8975

But I propose you to improve the wiki with a know issue.

@jfrontain jfrontain self-assigned this May 11, 2017
@jfrontain jfrontain removed their assignment Jun 28, 2017
magento-cicd2 pushed a commit that referenced this issue Aug 11, 2017
Major revisions for Deployment Process, Architecture overview
Updated and new content in Deploy your store and Go live and launch sections
Updated Elasticsearch service configurations and supported versions and plugins
Reviewed with engineering, tracked in tickets
Magecloud-866, Magecloud-598
@shrielenee
Copy link
Contributor

Thank you for your feedback! It doesn't seem like your issue is related to Magento DevDocs documentation. To get answers to your questions, check the Magento Support Knowledge Base, forums, or Stack Exchange. To report Magento 2 issues with code, see the Magento 2 GitHub. To suggest new product features and enhancements, see Magento features and improvements. Thanks for taking the time to create a GitHub issue for docs improvement!

@hguthrie hguthrie removed Waiting for Response Waiting for response from internal/external parties labels Jun 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Not DevDocs Issue/PR belongs in different forum; not DevDocs related
Projects
None yet
Development

No branches or pull requests

5 participants