diff --git a/bundles/nginx/files/site_template b/bundles/nginx/files/site_template index 339099c..7d90a43 100644 --- a/bundles/nginx/files/site_template +++ b/bundles/nginx/files/site_template @@ -72,17 +72,17 @@ server { % endif add_header Permissions-Policy interest-cohort=(); - error_page 404 /not_found.html; - location = /not_found.html { - root /var/www/; - internal; - } + error_page 404 /not_found.html; + location = /not_found.html { + root /var/www/; + internal; + } - error_page 500 502 503 504 /error.html; - location = /error.html { - root /var/www/; - internal; - } + error_page 500 502 503 504 /error.html; + location = /error.html { + root /var/www/; + internal; + } % if ssl == 'letsencrypt': location /.well-known/acme-challenge/ { diff --git a/data/nginx/files/error.html b/data/nginx/files/error.html index 818cee9..b06bad3 100644 --- a/data/nginx/files/error.html +++ b/data/nginx/files/error.html @@ -2,72 +2,72 @@ Server Error - + - - + * { + font-family: "Segoe UI", system-ui, "Roboto", "Helvetica Neue", "Arial"; + color: var(--text-color); + margin: 0; + padding: 0; + } + html { + background-color: var(--bg-color); + } + .header{ + border-bottom-width: 10px; + border-bottom-style: solid; + border-bottom-color: var(--line-color); + padding-bottom: 1em + } + h1{ + vertical-align: middle; + margin: 0 auto; + width: var(--page-width); + } + .emoji{ + vertical-align: middle; + font-size: 3em; + margin-right: 0.5em; + } + .text{ + margin: 1em auto; + width: var(--page-width); + font-size: 1.5em; + } + -
-
-

Server Error

-
-
-

Dieses System ist aktuell nicht verfügbar.

-

This system is currently unavailable.

-
-
+
+
+

Server Error

+
+
+

Dieses System ist aktuell nicht verfügbar.

+

This system is currently unavailable.

+
+
diff --git a/data/nginx/files/not_found.html b/data/nginx/files/not_found.html index 6dddbb8..cbb5218 100644 --- a/data/nginx/files/not_found.html +++ b/data/nginx/files/not_found.html @@ -2,72 +2,72 @@ Not Found - + - - + * { + font-family: "Segoe UI", system-ui, "Roboto", "Helvetica Neue", "Arial"; + color: var(--text-color); + margin: 0; + padding: 0; + } + html { + background-color: var(--bg-color); + } + .header{ + border-bottom-width: 10px; + border-bottom-style: solid; + border-bottom-color: var(--line-color); + padding-bottom: 1em + } + h1{ + vertical-align: middle; + margin: 0 auto; + width: var(--page-width); + } + .emoji{ + vertical-align: middle; + font-size: 3em; + margin-right: 0.5em; + } + .text{ + margin: 1em auto; + width: var(--page-width); + font-size: 1.5em; + } + -
-
-

🔦 Not Found

-
-
-

404 - Seite nicht gefunden.

-

404 - Page not found.

-
-
+
+
+

🔦 Not Found

+
+
+

404 - Seite nicht gefunden.

+

404 - Page not found.

+
+