move error pages, fixes #557

This commit is contained in:
j 2012-02-20 08:55:45 +00:00
parent 4790dd293d
commit 75b95b5549
3 changed files with 3 additions and 4 deletions

View file

@ -52,12 +52,12 @@ server {
error_page 404 /404.html;
location /404.html {
root __PREFIX__/static;
root __PREFIX__/static/html;
}
# redirect server error pages to the static page /50x.html
error_page 500 502 503 504 /50x.html;
location /50x.html {
root __PREFIX__/static;
root __PREFIX__/static/html;
}
}

View file

@ -6,14 +6,13 @@
<style>
body {
text-align: center;
padding-top: 128px;
background: rgb(32, 32, 32);
color: rgb(224, 224, 224);
}
</style>
</head>
<body class="OxThemeModern">
<img src="/static/png/logo256.png" style="width: 256px"/>
<img src="/static/png/logo256.png" style="width: 320px; padding-top: 160px"/>
<div style="padding-top: 16px">We will be back in a moment.</div>
</body>
</html>