Varnish in front of apache with name and ip based virtualhosts

Mehul Ved mehul at onlygizmos.com
Wed Nov 2 11:02:38 CET 2011


Hi,
   I have been reading up on various sites, documents but am not able to
figure out how to set up varnish to work with my setup.
Here's how is my apache configured:
1. Apache runs on port 80 currently and listens on 3 IP addresses:
x.x.x.91, x.x.x.92 and x.x.x.93
2. Only one site on runs x.x.x.92 and x.x.x.93, each. But, multiple
websites are configured on x.x.x.91.

As of now, I am running varnish on a higher port with only default backend
configured in default.vcl

backend default {
  .host = "127.0.0.1";
  .port = "80";
}


-- 
With Regards
Mehul Ved
9757062714
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20111102/cf20fb2a/attachment-0003.html>


More information about the varnish-misc mailing list