nginx-0.6.32

Igor Sysoev is at rambler-co.ru
Tue Jul 8 10:21:08 MSD 2008


On Tue, Jul 08, 2008 at 11:13:33AM +0800, Jeffrey 'jf' Lim wrote:

> On Mon, Jul 7, 2008 at 8:15 PM, Igor Sysoev <is at rambler-co.ru> wrote:
> 
> > Changes with nginx 0.6.32                                        07 Jul
> > 2008
> >
> >    *) Change: now nginx allows several "Host" request header line.
> >
> 
> sorry - could you elaborate on this? meaning nginx will (and this would be
> weird) be able to send multiple Host lines in one request? or?

No, now nginx accepts several Host headers in a request, and it uses the first
header to select virtual host. Early nginx refused such requests with 400 code.

Java in some Motorola phones (e.g. K1) sends two Host headers: one is correct,
and another is "localhost".


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list