Varnish serving content from wrong backend

Paulo Paracatu paulo at
Tue Oct 11 16:54:45 CEST 2011

> Can you provide your VCL, or at least a representative sample of how
> you're mapping your sites to backends?

Sure, here is it:

> If you're relying on host headers, are you properly handling all
> possibilities? e.g. some browsers might send the port number so you'll
> get something like "Host:" which maybe you're not
> handling (expecting only "") and therefore it's going
> through to the default backend.

Oh... Makes sense. As you can see in my VCL example, I'm not expecting the
Do you think this may be the problem, so?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list