Hi Tom,

On 13.12.10 12:02, "Tom Coady" 
<[email protected]<mailto:[email protected]>> wrote:

Thanks Traian!

$ sudo varnishd -f /etc/varnish/default.vcl -s malloc,1G -T 
127.0.0.1:2000<http://127.0.0.1:2000> -a 0.0.0.0:8080<http://0.0.0.0:8080>
This means, varnish should listen on all interfaces on tcp/8080.

$ more /etc/varnish/default.vcl
backend default {
set backend.host = "127.0.0.1";
set backend.port = "8080";
}
That doesn't make sense. You tell varnish to use the backend at localhost 8080, 
where as seen above, its varnish.

More likely is that you want to set the backend.port to 80 (as in a later reply 
of yours I can see that your apache2 is running on 80).

Change it to 80 and varnish will be able to process the request (if nothing 
else is wrong) ;)

Cheers,
Marian

_______________________________________________
varnish-misc mailing list
[email protected]
http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to