nginx-0.8.21

Igor Sysoev is at rambler-co.ru
Mon Oct 26 21:53:59 MSK 2009


On Mon, Oct 26, 2009 at 07:14:48PM +0100, Steve wrote:

> > > 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 ?
> > 
> 1  server {
> 2   #====================================================
> 3   set          $vhost       "domain.tld";
> 4   set          $vhost_root  "/var/www/vu-hosting/$vhost";
> 5   listen       80 default_server;
> 6   server_name  www.domain.tld .domain.tld;
> 7   access_log   /var/www/vu-hosting/domain.tld/logs/access_log combined;
> 8   error_log    /var/www/vu-hosting/domain.tld/logs/error_log;
> 9   root         /var/www/vu-hosting/domain.tld/htdocs;

Are you sure that it is this file ? This error message should be issued
for this:

   listen       default_server;


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





More information about the nginx mailing list