Welcome! Log In Create A New Profile

Advanced

Error Nginx?

Posted by iponks 
Error Nginx?
July 01, 2011 09:31AM
nginx error!
The page you are looking for is temporarily unavailable. Please try again later.

Website Administrator
Something has triggered an error on your website. This is the default error page for nginx that is distributed with EPEL. It is located /usr/share/nginx/html/50x.html

You should customize this error page for your own site or edit the error_page directive in the nginx configuration file /etc/nginx/nginx.conf.

why our nginx error like this??
Re: Error Nginx?
July 27, 2011 08:59AM
What do you mean?

My config:

server {
listen 80;
server_name server.com;
charset utf-8;
#access_log logs/host.access.log main;

location / {
root /usr/local/www/nginx;
index index.html index.htm;
}

error_page 404 /404.html;

# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/local/www/nginx-dist;
}

}
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 229
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready