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: 404



On Thu, Sep 23, 2010 at 06:31:43AM -0400, Dmitry Veselov wrote:

> [quote="Igor Sysoev"]
> server {
> listen 80 default_server;
> server_name "";
> location / { return 404; }
> root /usr/share/nginx/html;
> error_page 404 /404.html;
> location = /404.html { }
> }
> [/quote]
> [emerg]: "default_server" parameter can be specified for the default
> "listen" directive only in /etc/nginx/conf.d/default.conf:2
> configuration file /etc/nginx/nginx.conf test failed
> 
> ps: nginx version: nginx/0.7.67

listen 80 default;


-- 
 
http://sysoev.ru

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.