forked from 0x2620/pandora
move error pages, fixes #557
This commit is contained in:
parent
4790dd293d
commit
75b95b5549
3 changed files with 3 additions and 4 deletions
|
@ -52,12 +52,12 @@ server {
|
||||||
|
|
||||||
error_page 404 /404.html;
|
error_page 404 /404.html;
|
||||||
location /404.html {
|
location /404.html {
|
||||||
root __PREFIX__/static;
|
root __PREFIX__/static/html;
|
||||||
}
|
}
|
||||||
|
|
||||||
# redirect server error pages to the static page /50x.html
|
# redirect server error pages to the static page /50x.html
|
||||||
error_page 500 502 503 504 /50x.html;
|
error_page 500 502 503 504 /50x.html;
|
||||||
location /50x.html {
|
location /50x.html {
|
||||||
root __PREFIX__/static;
|
root __PREFIX__/static/html;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,14 +6,13 @@
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding-top: 128px;
|
|
||||||
background: rgb(32, 32, 32);
|
background: rgb(32, 32, 32);
|
||||||
color: rgb(224, 224, 224);
|
color: rgb(224, 224, 224);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body class="OxThemeModern">
|
<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>
|
<div style="padding-top: 16px">We will be back in a moment.</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in a new issue