]> git.ipfire.org Git - ipfire.org.git/commitdiff
error-pages: Include the HTTP headers
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 9 Jan 2024 16:58:31 +0000 (16:58 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 9 Jan 2024 16:58:31 +0000 (16:58 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/error-pages/_layouts/error.html

index 19c7504a11bef34f27d8a59c2a7bffb75bc5517d..1d567f3c4876fca4747e47eadab36efdae329358 100644 (file)
@@ -1,3 +1,8 @@
+HTTP/1.1 {{ page.error-code }} {{ page.error-description }}
+Cache-Control: no-cache
+Connection: close
+Content-Type: text/html
+
 <!DOCTYPE html>
 <html lang="en">
        <head>