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

[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 { }
[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

Posted at Nginx Forum: 

nginx-ru mailing list


Copyright © Lexa Software, 1996-2009.