jamulix-homepage/app/504/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

32 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, 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),&apos;SEITE&apos;,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>
)
}