Mercurial > hg > nginx-quic
changeset 4840:b5ba6f22a0fc
Improved 50x error page.
The feature set of the new page:
- HTML5 compliant;
- Looks similar to the new "Welcome page" (r4835);
- Sysadmin hint with a link to the documentation of the "error_log" directive.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Tue, 11 Sep 2012 12:37:04 +0000 |
parents | 9d458803bbe0 |
children | 95ce3172493e |
files | docs/html/50x.html |
diffstat | 1 files changed, 14 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/docs/html/50x.html +++ b/docs/html/50x.html @@ -1,18 +1,21 @@ +<!DOCTYPE html> <html> <head> -<title>The page is temporarily unavailable</title> +<title>Error</title> <style> -body { font-family: Tahoma, Verdana, Arial, sans-serif; } + body { + width: 35em; + margin: 0 auto; + font-family: Tahoma, Verdana, Arial, sans-serif; + } </style> </head> -<body bgcolor="white" text="black"> -<table width="100%" height="100%"> -<tr> -<td align="center" valign="middle"> -The page you are looking for is temporarily unavailable.<br/> -Please try again later. -</td> -</tr> -</table> +<body> +<h1>An error occurred.</h1> +<p>Sorry, the page you are looking for is currently unavailable.<br/> +Please try again later.</p> +<p>If you are the system administrator of this resource then you should check +the <a href="http://nginx.org/r/error_log">error log</a> for details.</p> +<p><em>Faithfully yours, nginx.</em></p> </body> </html>