jamulix-homepage/app/502/page.tsx
dschlueter 9c7e1ce4db Feature: Fehlerseiten 401, 403, 500, 502, 503, 504
Gemeinsames Layout in components/error-page.tsx, 404 darauf umgestellt.
Jede Route app/<code>/page.tsx erzeugt landingpage/<code>.html; die
Deploy-Skripte kopieren alle Fehlerseiten in den Webroot. README
dokumentiert die nötigen ErrorDocument-Zeilen (Server-Konfig unverändert).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 09:55:02 +02:00

33 lines
1.1 KiB
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { ErrorPage, Cmd, Out, Err } from '@/components/error-page'
export const metadata = {
title: '502 – Bad Gateway | Jamulix',
description: 'Der Server hinter dem Server schweigt.',
robots: { index: false, follow: false },
}
export default function BadGateway() {
return (
<ErrorPage
code={502}
label="Bad Gateway"
title="Der Server hinter dem Server schweigt."
terminal={
<>
<Cmd>ping -c 3 backend</Cmd>
<Out>--- backend ping statistics ---</Out>
<Err>3 packets transmitted, 0 received, 100% packet loss</Err>
<Cmd>curl http://localhost:8080/</Cmd>
<Err>curl: (7) Failed to connect to localhost port 8080: Connection refused</Err>
<Cmd>echo &quot;Hallo? Jemand da?&quot; &gt; /dev/backend</Cmd>
<Out>…</Out>
</>
}
tip={<>Tipp: Der Dienst startet meist von selbst neu – in ein paar Minuten nochmal versuchen.</>}
>
Der Webserver ist da und hat brav weitergefragt – aber die Anwendung
dahinter antwortet gerade nicht. Wahrscheinlich startet sie neu oder
denkt über ihr Leben nach.
</ErrorPage>
)
}