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>
This commit is contained in:
parent
ea2bcfbd27
commit
9c7e1ce4db
1 changed files with 427 additions and 120 deletions
32
app/504/page.tsx
Normal file
32
app/504/page.tsx
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
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>
|
||||
)
|
||||
}
|
||||
Loading…
Reference in a new issue