bw/nginx retab everything
Some checks failed
kunsi/bundlewrap/pipeline/head There was a failure building this commit
kunsi/bundlewrap/pipeline/pr-main There was a failure building this commit

This commit is contained in:
Sophie Schiller 2021-08-07 21:59:07 +02:00
parent ab21983a4f
commit 6e3603553f
3 changed files with 132 additions and 132 deletions

View file

@ -72,17 +72,17 @@ server {
% endif % endif
add_header Permissions-Policy interest-cohort=(); add_header Permissions-Policy interest-cohort=();
error_page 404 /not_found.html; error_page 404 /not_found.html;
location = /not_found.html { location = /not_found.html {
root /var/www/; root /var/www/;
internal; internal;
} }
error_page 500 502 503 504 /error.html; error_page 500 502 503 504 /error.html;
location = /error.html { location = /error.html {
root /var/www/; root /var/www/;
internal; internal;
} }
% if ssl == 'letsencrypt': % if ssl == 'letsencrypt':
location /.well-known/acme-challenge/ { location /.well-known/acme-challenge/ {

View file

@ -2,72 +2,72 @@
<html> <html>
<head> <head>
<title>Server Error</title> <title>Server Error</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>❌</text></svg>"> <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>❌</text></svg>">
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css"> <style type="text/css">
:root { :root {
--text-color: #111; --text-color: #111;
--bg-color: #FFFFFF; --bg-color: #FFFFFF;
--line-color: #FF0000; --line-color: #FF0000;
--page-width: 70%; --page-width: 70%;
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
:root { :root {
--text-color: #FFFFFF; --text-color: #FFFFFF;
--bg-color: #222222; --bg-color: #222222;
--line-color: #800000; --line-color: #800000;
} }
} }
@media screen and (max-width: 800px) { @media screen and (max-width: 800px) {
:root { :root {
--page-width: 95%; --page-width: 95%;
} }
} }
* { * {
font-family: "Segoe UI", system-ui, "Roboto", "Helvetica Neue", "Arial"; font-family: "Segoe UI", system-ui, "Roboto", "Helvetica Neue", "Arial";
color: var(--text-color); color: var(--text-color);
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
html { html {
background-color: var(--bg-color); background-color: var(--bg-color);
} }
.header{ .header{
border-bottom-width: 10px; border-bottom-width: 10px;
border-bottom-style: solid; border-bottom-style: solid;
border-bottom-color: var(--line-color); border-bottom-color: var(--line-color);
padding-bottom: 1em padding-bottom: 1em
} }
h1{ h1{
vertical-align: middle; vertical-align: middle;
margin: 0 auto; margin: 0 auto;
width: var(--page-width); width: var(--page-width);
} }
.emoji{ .emoji{
vertical-align: middle; vertical-align: middle;
font-size: 3em; font-size: 3em;
margin-right: 0.5em; margin-right: 0.5em;
} }
.text{ .text{
margin: 1em auto; margin: 1em auto;
width: var(--page-width); width: var(--page-width);
font-size: 1.5em; font-size: 1.5em;
} }
</style> </style>
</head> </head>
<body> <body>
<div class="content"> <div class="content">
<div class="header" > <div class="header" >
<h1><span class="emoji"></span> Server Error</h1> <h1><span class="emoji"></span> Server Error</h1>
</div> </div>
<div class="text"> <div class="text">
<p>Dieses System ist aktuell nicht verfügbar.</p> <p>Dieses System ist aktuell nicht verfügbar.</p>
<p>This system is currently unavailable.</p> <p>This system is currently unavailable.</p>
</div> </div>
</div> </div>
</body> </body>
</html> </html>

View file

@ -2,72 +2,72 @@
<html> <html>
<head> <head>
<title>Not Found</title> <title>Not Found</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🔦</text></svg>"> <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🔦</text></svg>">
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css"> <style type="text/css">
:root { :root {
--text-color: #111; --text-color: #111;
--bg-color: #FFFFFF; --bg-color: #FFFFFF;
--line-color: #FF7800; --line-color: #FF7800;
--page-width: 70%; --page-width: 70%;
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
:root { :root {
--text-color: #FFFFFF; --text-color: #FFFFFF;
--bg-color: #222222; --bg-color: #222222;
--line-color: #ac3800; --line-color: #ac3800;
} }
} }
@media screen and (max-width: 800px) { @media screen and (max-width: 800px) {
:root { :root {
--page-width: 95%; --page-width: 95%;
} }
} }
* { * {
font-family: "Segoe UI", system-ui, "Roboto", "Helvetica Neue", "Arial"; font-family: "Segoe UI", system-ui, "Roboto", "Helvetica Neue", "Arial";
color: var(--text-color); color: var(--text-color);
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
html { html {
background-color: var(--bg-color); background-color: var(--bg-color);
} }
.header{ .header{
border-bottom-width: 10px; border-bottom-width: 10px;
border-bottom-style: solid; border-bottom-style: solid;
border-bottom-color: var(--line-color); border-bottom-color: var(--line-color);
padding-bottom: 1em padding-bottom: 1em
} }
h1{ h1{
vertical-align: middle; vertical-align: middle;
margin: 0 auto; margin: 0 auto;
width: var(--page-width); width: var(--page-width);
} }
.emoji{ .emoji{
vertical-align: middle; vertical-align: middle;
font-size: 3em; font-size: 3em;
margin-right: 0.5em; margin-right: 0.5em;
} }
.text{ .text{
margin: 1em auto; margin: 1em auto;
width: var(--page-width); width: var(--page-width);
font-size: 1.5em; font-size: 1.5em;
} }
</style> </style>
</head> </head>
<body> <body>
<div class="content"> <div class="content">
<div class="header" > <div class="header" >
<h1><span class="emoji">🔦</span> Not Found</h1> <h1><span class="emoji">🔦</span> Not Found</h1>
</div> </div>
<div class="text"> <div class="text">
<p>404 - Seite nicht gefunden.</p> <p>404 - Seite nicht gefunden.</p>
<p>404 - Page not found.</p> <p>404 - Page not found.</p>
</div> </div>
</div> </div>
</body> </body>
</html> </html>