]> git.kaiwu.me - nginx.git/commitdiff
Merge of r4835, r4841: improved welcome and 50x error pages.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 24 Sep 2012 19:14:17 +0000 (19:14 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 24 Sep 2012 19:14:17 +0000 (19:14 +0000)
docs/html/50x.html
docs/html/index.html

index 836fb2d5aa671ae569ba5550046484b48e394672..f60f5e72d17085f8fa933b7fef4efaaeefa3d69b 100644 (file)
@@ -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>
index 1f7927539a2501893e8c130d665ae4ca54d1d22d..2ca3b9543c02f20a1421f66e84a55b52ec04b551 100644 (file)
@@ -1,8 +1,25 @@
+<!DOCTYPE html>
 <html>
 <head>
 <title>Welcome to nginx!</title>
+<style>
+    body {
+        width: 35em;
+        margin: 0 auto;
+        font-family: Tahoma, Verdana, Arial, sans-serif;
+    }
+</style>
 </head>
-<body bgcolor="white" text="black">
-<center><h1>Welcome to nginx!</h1></center>
+<body>
+<h1>Welcome to nginx!</h1>
+<p>If you see this page, the nginx web server is successfully installed and
+working. Further configuration is required.</p>
+
+<p>For online documentation and support please refer to
+<a href="http://nginx.org/">nginx.org</a>.<br/>
+Commercial support is available at
+<a href="http://nginx.com/">nginx.com</a>.</p>
+
+<p><em>Thank you for using nginx.</em></p>
 </body>
 </html>