I have several Magento 2 instances under the same domain. For example, www.mydomain.com/magento1 and www.mydomain.com/magento2.
I am trying to set up Varnish against these Magento sites. However, how can I set up multiple backends if the sites are essentially using the same hostname? So, this example I've found for handling multiple backends, won't work for me.
backend example1 {
.host = "backend.example1.com";
.port = "8080";
}
backend example2 {
.host = "backend.example2.com";
.port = "8080";
}
Thanks in advance,