Forum: NGINX custom error page with errors in it

Posted by RedFoxy (Guest)
on 2013-03-18 17:33
(Received via mailing list)
Hi all!
I does some rules for various web errors, that rules shows a custom 
error
page:

error_page  500 502 503 504  /50x.html;
location = /50x.html
{
  root  /etc/nginx/_conf/error-page;
}

error_page  404    /404.html;
location = /404.html
{
  root  /etc/nginx/_conf/error-page;
}

That's ok but there is a way to add some informations about the error in 
the
pages? In apache there was some "apache-code" to include in the HTML 
page to
add the web server output error in the html page, there is something 
like it
in nginx?

thank's

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?2,237503,237503#msg-237503
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.