Varnish in front of apache with name and ip based virtualhosts

Stewart Robinson stewsnooze at gmail.com
Wed Nov 2 11:19:25 CET 2011


Make your backend definition point at the 3 ip addresses you are using
or additionally make apache listen on 127...

Stewart Robinson
@stewsnooze


On 2 Nov 2011, at 10:03, Mehul Ved <mehul at onlygizmos.com> wrote:

> 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
>
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc




More information about the varnish-misc mailing list