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>
32 lines
1.1 KiB
TypeScript
32 lines
1.1 KiB
TypeScript
import { ErrorPage, Cmd, Out, Err, Code } from '@/components/error-page'
|
||
|
||
export const metadata = {
|
||
title: '504 – Gateway Timeout | Jamulix',
|
||
description: 'Der Server denkt noch nach.',
|
||
robots: { index: false, follow: false },
|
||
}
|
||
|
||
export default function GatewayTimeout() {
|
||
return (
|
||
<ErrorPage
|
||
code={504}
|
||
label="Gateway Timeout"
|
||
title="Der Server denkt noch nach."
|
||
terminal={
|
||
<>
|
||
<Cmd>curl --max-time 60 http://backend/</Cmd>
|
||
<Err>curl: (28) Operation timed out after 60000 milliseconds</Err>
|
||
<Cmd>cat jobkarte.jcl</Cmd>
|
||
<Code>//JOB504 JOB (1976),'SEITE',CLASS=A</Code>
|
||
<Out>JOB 504 IN WARTESCHLANGE – POSITION 42</Out>
|
||
<Out>VORAUSSICHTLICHE AUSGABE: MORGEN FRÜH AM SCHALTER</Out>
|
||
</>
|
||
}
|
||
tip={<>Tipp: 1976 kam das Ergebnis am nächsten Morgen – heute reicht meist ein Neuladen.</>}
|
||
>
|
||
Die Anwendung hinter dem Webserver braucht gerade länger als erlaubt.
|
||
Früher gab man seinen Lochkartenstapel ab und holte das Ergebnis am
|
||
nächsten Tag – so lange musst du hoffentlich nicht warten.
|
||
</ErrorPage>
|
||
)
|
||
}
|