server.ip for "undoing" namevirtualhosts issues
Chris Hecker
checker at d6.com
Mon Jul 12 11:09:14 CEST 2010
> 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<4C3AD647.3070409 at d6.com>, 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.
>
More information about the varnish-misc
mailing list