September 23, 2010 06:31AM
[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
Subject Author Posted

404 и слэш

Dmitry Veselov September 23, 2010 05:13AM

Re: 404 и слэш

Alexander Kochetov September 23, 2010 05:34AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 05:36AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 05:39AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 06:01AM

Re: 404 и слэш

Alexander Kochetov September 23, 2010 06:16AM

Re: 404 и слэш

Igor Sysoev September 23, 2010 06:18AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 06:24AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 06:31AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 06:36AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 06:40AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 06:50AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 07:03AM

Re: 404 и слэш

Alexander Kochetov September 23, 2010 06:30AM

Re: 404 и слэш

Igor Sysoev September 23, 2010 06:36AM

Re: 404 и слэш

Igor Sysoev September 23, 2010 06:42AM

Re: 404 и слэш

Igor Sysoev September 23, 2010 07:28AM

Re: 404 и слэш

Dmitry Veselov September 23, 2010 11:16AM

Re: 404 и слэш

Дмитрий Андреев September 23, 2010 11:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 97
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready