Welcome! Log In Create A New Profile

Advanced

custom error page with errors in it

March 18, 2013 12:33PM
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
Subject Author Posted

custom error page with errors in it

RedFoxy March 18, 2013 12:33PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 63
Record Number of Users: 6 on August 08, 2016
Record Number of Guests: 386 on August 02, 2016
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready