yeah, looks pretty good to me. Not sure if you risk seeing a port
number in the Host: header also ?

Hmm, not sure either.

Remeber that you can always start a varnish on a different port
number to experiement with.

Yeah, I realized this only after I sort of dove in head first the other day. :)

Chris



On 2010/07/12 01:55, Poul-Henning Kamp wrote:
In message<[email protected]>, Chris Hecker writes:

if(!req.http.host ||
    (req.http.host ~ "^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$"))
{
        blah;
}

but I haven't tried that yet, since I realized I don't need it yet.
Does that look right?

yeah, looks pretty good to me.  Not sure if you risk seeing a port
number in the Host: header also ?

Remeber that you can always start a varnish on a different port number
to experiement with.


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

Reply via email to