summaryrefslogtreecommitdiff
path: root/usr.sbin/nginx/html
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/nginx/html')
-rw-r--r--usr.sbin/nginx/html/50x.html25
-rw-r--r--usr.sbin/nginx/html/index.html21
2 files changed, 33 insertions, 13 deletions
diff --git a/usr.sbin/nginx/html/50x.html b/usr.sbin/nginx/html/50x.html
index 836fb2d5aa6..f60f5e72d17 100644
--- a/usr.sbin/nginx/html/50x.html
+++ b/usr.sbin/nginx/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>
diff --git a/usr.sbin/nginx/html/index.html b/usr.sbin/nginx/html/index.html
index 1f7927539a2..2ca3b9543c0 100644
--- a/usr.sbin/nginx/html/index.html
+++ b/usr.sbin/nginx/html/index.html
@@ -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>