ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Неточночть при определении сервера по умолчанию (server *)



Hello Jafar,

Tuesday, November 13, 2007, 9:45:24 PM, you wrote:

> Приветствую.


>     include /etc/nginx/vhosts/srever1;
>     include /etc/nginx/vhosts/srever2;

>     server {
-         listen       80;
-         server_name  *;
+         listen       80 default;
+         server_name  _;
>         root /var/www/htdocs

> first server name "*" must not be wildcard in /etc/nginx/nginx.conf:40
> 2007/11/13 18:42:17 [emerg] 5193#0: the configuration file
> /etc/nginx/nginx.conf test failed



-- 
Best regards,
 Denis                            mailto:denis@xxxxxxxxxx




 




Copyright © Lexa Software, 1996-2009.