Changeset 4840:b5ba6f22a0fc in nginx


Ignore:
Timestamp:
09/11/12 12:37:04 (5 years ago)
Author:
Valentin Bartenev <vbart@…>
Branch:
default
Convert:
svn:c3fe7df1-7212-e011-8a91-001109144009/trunk@4841
Message:

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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/html/50x.html

    r663 r4840  
     1<!DOCTYPE html>
    12<html>
    23<head>
    3 <title>The page is temporarily unavailable</title>
     4<title>Error</title>
    45<style>
    5 body { font-family: Tahoma, Verdana, Arial, sans-serif; }
     6    body {
     7        width: 35em;
     8        margin: 0 auto;
     9        font-family: Tahoma, Verdana, Arial, sans-serif;
     10    }
    611</style>
    712</head>
    8 <body bgcolor="white" text="black">
    9 <table width="100%" height="100%">
    10 <tr>
    11 <td align="center" valign="middle">
    12 The page you are looking for is temporarily unavailable.<br/>
    13 Please try again later.
    14 </td>
    15 </tr>
    16 </table>
     13<body>
     14<h1>An error occurred.</h1>
     15<p>Sorry, the page you are looking for is currently unavailable.<br/>
     16Please try again later.</p>
     17<p>If you are the system administrator of this resource then you should check
     18the <a href="http://nginx.org/r/error_log">error log</a> for details.</p>
     19<p><em>Faithfully yours, nginx.</em></p>
    1720</body>
    1821</html>
Note: See TracChangeset for help on using the changeset viewer.