On Mon, Oct 26, 2009 at 04:49:30PM +0100, Steve wrote:
>
> -------- Original-Nachricht --------
> > Datum: Mon, 26 Oct 2009 17:16:18 +0300
> > Von: Igor Sysoev <is@rambler-co.ru>
> > An: nginx@sysoev.ru
> > Betreff: nginx-0.8.21
>
> > Changes with nginx 0.8.21 26 Oct
> > 2009
> >
> > *) Feature: now the "-V" switch shows TLS SNI support.
> >
> > *) Feature: the "listen" directive of the HTTP module supports unix
> > domain sockets.
> > Thanks to Hongli Lai.
> >
> > *) Feature: the "default_server" parameter of the "listen" directive.
> >
> How is that supposed to work? Should something like that here set that server to be the default if no match is found for the host requested?
> ----------------
> server {
> listen 80 default_server;
> }
> ------------
Yes, this parameter sets default server for given listen pair, "*:80" in
this case. Actullay, "default_server" is just alias to a "default". I've
introduced this name, because people treats the "default" parameter in
listen 80 default backlog=1000 ...;
as related to backlog, etc., although it means just default server for
given listen pair.
> > *) Feature: now a "default" parameter is not required to set listen
> > socket options.
> >
> > *) Bugfix: nginx did not support dates in 2038 year on 32-bit
> > platforms;
> >
> > *) Bugfix: socket leak; the bug had appeared in 0.8.11.
--
Igor Sysoev
http://sysoev.ru/en/