Varnish in front of apache with name and ip based virtualhosts

Mehul Ved mehul at onlygizmos.com
Wed Nov 2 12:40:17 CET 2011


Thank you Stewart and Andreas for your responses.

On Wed, Nov 2, 2011 at 4:29 PM, Andreas Plesner Jacobsen <apj at mutt.dk>wrote:

> On Wed, Nov 02, 2011 at 10:19:25AM +0000, Stewart Robinson wrote:
>
> > Make your backend definition point at the 3 ip addresses you are using
> > or additionally make apache listen on 127...
>
> And use server.ip to select the backend in varnish
>

I created 3 backends. Backend is selected on basis of server.ip as defined
in vcl_recv.
It seems to be working as of now. Will confirm again once I am go live with
varnish.


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


More information about the varnish-misc mailing list