[nginx] svn commit: r4841 - trunk/docs/html

vbart at nginx.com vbart at nginx.com
Tue Sep 11 12:37:04 UTC 2012

Author: vbart
Date: 2012-09-11 12:37:04 +0000 (Tue, 11 Sep 2012)
New Revision: 4841
URL: http://trac.nginx.org/nginx/changeset/4841/nginx

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.


Modified: trunk/docs/html/50x.html
--- trunk/docs/html/50x.html	2012-09-11 12:35:30 UTC (rev 4840)
+++ trunk/docs/html/50x.html	2012-09-11 12:37:04 UTC (rev 4841)
@@ -1,18 +1,21 @@
+<!DOCTYPE html>
-<title>The page is temporarily unavailable</title>
-body { font-family: Tahoma, Verdana, Arial, sans-serif; }
+    body {
+        width: 35em;
+        margin: 0 auto;
+        font-family: Tahoma, Verdana, Arial, sans-serif;
+    }
-<body bgcolor="white" text="black">
-<table width="100%" height="100%">
-<td align="center" valign="middle">
-The page you are looking for is temporarily unavailable.<br/>
-Please try again later.
+<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>

More information about the nginx-devel mailing list