New Version backend config

ll ibeginhere at gmail.com
Wed Dec 15 01:54:01 CET 2010


what is different between the .host is domain and IP ?

I thought the IP had multi domains ,so I set the .host exactly to a  domain which I want to proxy .

于 2010-12-14 16:27, Lars Jørgensen 写道:
> Hi ll,
>
> Specify the ip address instead of the DNS name. That way you also cut the name lookups out of the equation.
>
>
> Lars
>
> -----Original Message-----
> From: varnish-misc-bounces at varnish-cache.org [mailto:varnish-misc-bounces at varnish-cache.org] On Behalf Of ll
> Sent: Tuesday, December 14, 2010 3:31 AM
> To: varnish-misc at varnish-cache.org
> Subject: New Version backend config
>
> hi,all,Is there any change about the muti-backend config in the varnish-cache-2.1.4 version ?
> I set the backend like that
> backend abc {
>           .host="www.abc.com";
>           .port="80";
> }
> the www.abc.com DNS had change to my varnish server ip 192.168.1.1
> and i had edit the varnish server 's /etc/hosts file ,add
> 192.168.1.2 www.abc.com
>
> but now, all the url which had set the backend to "abc" is not work.I use the same config in the
> 2.0.4 version is fine. I don't know how to fix it ?
>
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc





More information about the varnish-misc mailing list