kikeflare branch customisations and error pages

This commit is contained in:
Thomas Lynch
2022-04-25 14:11:57 +10:00
parent 1857e79137
commit e139b04f4b
10 changed files with 425 additions and 32 deletions

31
haproxy/errors/503.http Normal file
View File

@@ -0,0 +1,31 @@
HTTP/1.0 503 Service Unavailable
Cache-Control: no-cache
Connection: close
Content-Type: text/html; charset=utf-8
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>503</title>
<style type="text/css">
:root{--text-color:#c5c8c6;--bg-color:#1d1f21}
@media (prefers-color-scheme:light){:root{--text-color:#333;--bg-color:#EEE}}
a,a:visited{color:var(--text-color)}
body,html{height:100%}
body{display:flex;flex-direction:column;background-color:var(--bg-color);color:var(--text-color);font-family:Arial,Helvetica,sans-serif;text-align:center;margin:0}
code{background-color:#dfdfdf30;border-radius:3px;padding:0 3px;}
img,h3,p{margin:0 0 5px 0}
footer{font-size:x-small;margin-top:auto;margin-bottom:20px}.pt{padding-top:30vh}
</style>
</head>
<body>
<h3 class="pt">Service Unavailable.</h3>
<p>Sorry, the backend is unreachable or down for essential maintenance. Try again soon!</p>
<footer>
<img src="/img/footerlogo.png">
<p>Security and Performance by <a href="https://kikeflare.com">Kikeflare</a></p>
<p>Vey ID: <code>4c286855cff704021006c5cc138aae46</code></p>
</footer>
</body>
</html>