Mercurial > hg > nginx
changeset 4859:b91740dedb8a stable-1.2
Merge of r4835, r4841: improved welcome and 50x error pages.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 24 Sep 2012 19:14:17 +0000 |
parents | 5e789d8b009d |
children | ce42f6b8d1d2 |
files | docs/html/50x.html docs/html/index.html |
diffstat | 2 files changed, 33 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/docs/html/50x.html Mon Sep 24 19:11:45 2012 +0000 +++ b/docs/html/50x.html Mon Sep 24 19:14:17 2012 +0000 @@ -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>
--- a/docs/html/index.html Mon Sep 24 19:11:45 2012 +0000 +++ b/docs/html/index.html Mon Sep 24 19:14:17 2012 +0000 @@ -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>