aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2012-09-11 12:37:04 +0000
committerValentin Bartenev <vbart@nginx.com>2012-09-11 12:37:04 +0000
commita8742ab5f1c9975cc0e1abc9f9f3fc68344cd84c (patch)
treeeb89e597a241b4448f5b677a08b680d601f2958e
parent8522a2a707828e0739e4b3f4e00d3752e0472332 (diff)
downloadnginx-a8742ab5f1c9975cc0e1abc9f9f3fc68344cd84c.tar.gz
nginx-a8742ab5f1c9975cc0e1abc9f9f3fc68344cd84c.zip
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.
-rw-r--r--docs/html/50x.html25
1 files changed, 14 insertions, 11 deletions
diff --git a/docs/html/50x.html b/docs/html/50x.html
index 836fb2d5a..f60f5e72d 100644
--- 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>