Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [warn] 7260#0: conflicting server name "test" on 0.0.0.0:80, ignored
- To: nginx-ru@xxxxxxxxx
- Subject: Re: [warn] 7260#0: conflicting server name "test" on 0.0.0.0:80, ignored
- From: Sergey Shepelev <temotor@xxxxxxxxx>
- Date: Wed, 8 Dec 2010 20:13:44 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=SKZBOqWlo8gTytsz77QJrkxr9RSxfSkNX6bxK1dtkcU=; b=BbCFUrHURiUEG6Y2yOIoKlHp2bK5ZZ7D/7CTLVkkAxUNV2G4AW6xOHWcpcIre1qbYY ToZrbvj34lwg3sAnMDVaFn1OHzbcKtFs13I/dgf/w0/k3JkQAFyfR/CLguIP6WJLq0A6 OB6YvmJ0tKqddfm0apCb+l+KnDOk3dDfkUuoI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=b2oWejQ8SA1mcNH8Vv1j7GzupgTcy3ayQ43N+daNHz3IXMapcUUspP/eLL4TgKIZu8 O+2x4KOtqVgb3DV0gRZNRMQkRVdMv90YDmiRQpt42YPD++c0Ew0egjh95c0gke91SXTX X+7t6WgLr2G/66bdfwv9HXeaf+GBF1/x3Hwx8=
- In-reply-to: <94184fd9a94da71f6c5101106321d685.NginxMailingListRussian@xxxxxxxxxxxxxxx>
- References: <94184fd9a94da71f6c5101106321d685.NginxMailingListRussian@xxxxxxxxxxxxxxx>
2010/12/8 weqq <nginx-forum@xxxxxxxx>:
> Здравствуйте. выдает вот такую вот
> вестчь:
>
> fera@fera-desktop:/etc/nginx$ sudo nginx -t
> [b][warn]: conflicting server name "korp" on 0.0.0.0:80, ignored
> [warn]: conflicting server name "spma" on 0.0.0.0:80, ignored
> [warn]: conflicting server name "test" on 0.0.0.0:80, ignored[/b]
> the configuration file /etc/nginx/nginx.conf syntax is ok
> configuration file /etc/nginx/nginx.conf test is successful
>
> долго гуглил, ничего не нашел.. что за
> warning и что с ним делать? как победить?
> заранее благодарен!...
>
[...]
> include /etc/nginx/conf.d/*.conf;
> include /etc/nginx/sites-enabled/*;
> }
В sites-enabled ссылки на файлы в conf.d.
Вы дважды инклюдите одни и те же конфиги. Как следствие - серверы
korp, spma и test описываются два раза, то есть conflicting server
name.
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|