Varnish serving content from wrong backend

Paulo Paracatu paulo at aliancaproject.com
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: http://pastebin.com/uvFKH4ub


>
> 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: www.some.site:80" which maybe you're not
> handling (expecting only "www.some.site") 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
":80".
Do you think this may be the problem, so?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20111011/aca153d2/attachment-0003.html>


More information about the varnish-misc mailing list