Welcome! Log In Create A New Profile

Advanced

Re: nginx-0.8.21

October 26, 2009 02:04PM
On Mon, Oct 26, 2009 at 06:49:09PM +0100, Steve wrote:

>
> -------- Original-Nachricht --------
> > Datum: Mon, 26 Oct 2009 20:18:25 +0300
> > Von: Igor Sysoev <is@rambler-co.ru>
> > An: nginx@sysoev.ru
> > Betreff: Re: nginx-0.8.21
>
> > 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;
> >
> 2009/10/26 16:36:12 [emerg] 31458#0: host not found in "default_server" of the "listen" directive in /var/www/hosting/vhosts.conf.d/front/2000_domain.tld.conf:5
>
> What host does nginx have issue to find?

Could you show the 5th line of the 2000_domain.tld.conf ?


--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

nginx-0.8.21

Igor Sysoev October 26, 2009 10:20AM

RE: nginx-0.8.21

郭振立 October 26, 2009 11:14AM

Re: nginx-0.8.21

Steve October 26, 2009 11:54AM

Re: nginx-0.8.21

Igor Sysoev October 26, 2009 12:06PM

Re: nginx-0.8.21

Steve October 26, 2009 12:46PM

Re: nginx-0.8.21

Igor Sysoev October 26, 2009 12:50PM

Re: nginx-0.8.21

Steve October 26, 2009 01:14PM

Re: nginx-0.8.21

Igor Sysoev October 26, 2009 01:24PM

Re: nginx-0.8.21

Steve October 26, 2009 01:56PM

Re: nginx-0.8.21

Igor Sysoev October 26, 2009 02:04PM

Re: nginx-0.8.21

Steve October 26, 2009 02:20PM

Re: nginx-0.8.21

Igor Sysoev October 26, 2009 02:58PM

Re: nginx-0.8.21

Steve October 26, 2009 03:50PM

Re: nginx-0.8.21

Igor Sysoev October 26, 2009 05:38PM

Re: nginx-0.8.21

mike October 26, 2009 05:46PM

Re: nginx-0.8.21

Igor Sysoev October 26, 2009 05:54PM

Re: nginx-0.8.21

vesperto October 26, 2009 05:56PM

Re: nginx-0.8.21

mike October 26, 2009 06:04PM

Re: nginx-0.8.21

vesperto October 26, 2009 06:08PM

Re: nginx-0.8.21

mike October 26, 2009 06:22PM

Re: nginx-0.8.21

vesperto October 26, 2009 07:02PM

Re: nginx-0.8.21

Steve October 26, 2009 06:04PM

Re: nginx-0.8.21

Igor Sysoev October 26, 2009 06:10PM

Re: nginx-0.8.21

tromby24 October 27, 2009 01:50AM

Re: nginx-0.8.21

anomalizer March 12, 2010 11:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 111
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready