Some checks failed
Release / Test backend (push) Successful in 26s
CI / Backend (push) Successful in 42s
CI / UI (push) Successful in 47s
Release / Check ui (push) Successful in 26s
CI / UI (pull_request) Successful in 26s
CI / Backend (pull_request) Successful in 44s
Release / Docker / caddy (push) Successful in 53s
Release / Docker / backend (push) Failing after 1m4s
Release / Docker / runner (push) Failing after 1m3s
Release / Docker / ui (push) Successful in 1m54s
Release / Gitea Release (push) Has been skipped
- Add caddy/errors/404.html (matches existing 502/503/504 style) - Add handle_errors 404 block in Caddyfile - Add active health checks (5s interval) and lb_try_duration 3s to the ui reverse_proxy so Caddy detects Watchtower container replacements quickly and serves the 502 maintenance page instead of a raw error
52 lines
1.3 KiB
HTML
52 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>404 — Page Not Found</title>
|
|
<style>
|
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
body {
|
|
min-height: 100svh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 1rem;
|
|
background: #09090b;
|
|
color: #a1a1aa;
|
|
font-family: ui-sans-serif, system-ui, sans-serif;
|
|
padding: 2rem;
|
|
text-align: center;
|
|
}
|
|
.code {
|
|
font-size: clamp(4rem, 20vw, 8rem);
|
|
font-weight: 800;
|
|
color: #27272a;
|
|
line-height: 1;
|
|
letter-spacing: -0.04em;
|
|
}
|
|
h1 { font-size: 1.25rem; font-weight: 600; color: #e4e4e7; }
|
|
p { font-size: 0.9rem; max-width: 36ch; line-height: 1.6; }
|
|
a {
|
|
margin-top: 0.5rem;
|
|
display: inline-block;
|
|
padding: 0.6rem 1.4rem;
|
|
border-radius: 0.5rem;
|
|
background: #f59e0b;
|
|
color: #000;
|
|
font-weight: 600;
|
|
font-size: 0.875rem;
|
|
text-decoration: none;
|
|
}
|
|
a:hover { background: #d97706; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="code">404</div>
|
|
<h1>Page Not Found</h1>
|
|
<p>The page you're looking for doesn't exist or has been moved.</p>
|
|
<a href="/">Go home</a>
|
|
</body>
|
|
</html>
|