• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Isssues with Varnish Docker and Magento

KooTjoo

Basic Pleskian
Hi all,

Hope someone can help me here. I am trying to get Varnish Docker to work with my Magento 2 Installation. I have a multistore setup in Magento with different .tld's pointing to 1 site. If I setup the default VCL like this:

backend default {
.host = "www.mydomain.com";
.port = "7080";
.first_byte_timeout = 600s;
.probe = {
.url = "/pub/health_check.php";
.timeout = 2s;
.interval = 5s;
.window = 10;
.threshold = 5;
}
}

Everything works like it should. I get a Varnish Hit on my pages for this domain. My issue is that I want to use the IP for the .host setting since I have different .tld's If I use this

backend default {
.host = "155.144.214.155";
.port = "7080";
.first_byte_timeout = 600s;
.probe = {
.url = "/pub/health_check.php";
.timeout = 2s;
.interval = 5s;
.window = 10;
.threshold = 5;
}
}

I get a backend fetch failed error. I have a server with multiple IP's I have tried IP from server itself and the IP of the subscription.

I hope anyone can share some light on this and point me in the right direction.

Thanks!
 
Back
Top