nginx: replace data symlinks with actual files

This commit is contained in:
Rico 2021-12-21 16:59:21 +01:00
parent 6dc95b938b
commit e6a58eaaf4
Signed by: stillbeben
GPG Key ID: AE1066B5BD0B5041
2 changed files with 146 additions and 2 deletions

View File

@ -1 +0,0 @@
../../../../bundlewrap/data/nginx/files/error.html

View File

@ -0,0 +1,73 @@
<!DOCTYPE html>
<html>
<head>
<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>">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css">
:root {
--text-color: #111;
--bg-color: #FFFFFF;
--line-color: #FF0000;
--page-width: 70%;
}
@media (prefers-color-scheme: dark) {
:root {
--text-color: #FFFFFF;
--bg-color: #222222;
--line-color: #800000;
}
}
@media screen and (max-width: 800px) {
:root {
--page-width: 95%;
}
}
* {
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;
}
</style>
</head>
<body>
<div class="content">
<div class="header" >
<h1><span class="emoji"></span> Server Error</h1>
</div>
<div class="text">
<p>Dieses System ist aktuell nicht verfügbar.</p>
<p>This system is currently unavailable.</p>
</div>
</div>
</body>
</html>

View File

@ -1 +0,0 @@
../../../../bundlewrap/data/nginx/files/not_found.html

View File

@ -0,0 +1,73 @@
<!DOCTYPE html>
<html>
<head>
<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>">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css">
:root {
--text-color: #111;
--bg-color: #FFFFFF;
--line-color: #FF7800;
--page-width: 70%;
}
@media (prefers-color-scheme: dark) {
:root {
--text-color: #FFFFFF;
--bg-color: #222222;
--line-color: #ac3800;
}
}
@media screen and (max-width: 800px) {
:root {
--page-width: 95%;
}
}
* {
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;
}
</style>
</head>
<body>
<div class="content">
<div class="header" >
<h1><span class="emoji">🔦</span> Not Found</h1>
</div>
<div class="text">
<p>404 - Seite nicht gefunden.</p>
<p>404 - Page not found.</p>
</div>
</div>
</body>
</html>