nginx-0.8.21

Igor Sysoev is at rambler-co.ru
Mon Oct 26 20:18:25 MSK 2009


On Mon, Oct 26, 2009 at 06:04:34PM +0100, Steve wrote:

> > > > > 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.
> > > > 
> > > Does not work over here. I get a error in Firefox telling me something
> > about the page not being correctly redirected.
> > 
> > Could you create debug log ?
> > 
> How?

./configure --with-debug ...

nginx.conf:

error_log  /path/to/log  debug;


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





More information about the nginx mailing list