Add some example files.

This commit is contained in:
Christoph 2020-05-21 18:50:53 +02:00
parent 493cda24b8
commit 8e46da140f
8 changed files with 400 additions and 0 deletions

View File

@ -0,0 +1,24 @@
<html>
<head>
<title>HTTP Fehler 707</title>
<head>
<table width="368" cellpadding="3" cellspacing="5">
<tr height=30></tr>
<tr>
<td width="50"></td>
<td valign="top" align="left"><img border="0" src="info.jpg" width="25" height="33"></td>
<td valign="center" width="360" align="right">
<h1 style="font-style: normal; font-variant: normal; font-weight: normal; line-height: 22pt; font-size: 22pt; font-family: verdana; color: black;">HTTP Fehler 707</h1>
</td>
</tr>
<tr>
<td width="50"></td>
<td colspan=2>
<hr color="#c0c0c0" noshade="noshade">
<h1 style="font-style: normal; font-variant: normal; font-weight: normal; line-height: 15pt; font-size: 13pt; font-family: verdana; color: black;">Das Ende des Internets ist ereicht.</h1>
<h1 style="font-style: normal; font-variant: normal; font-weight: normal; line-height: 10pt; font-size: 9pt; font-family: verdana; color: black;">Beim n&auml;chsten Klick wird Ihr Computer abst&uuml;rzen.</h1>
</td>
</tr>
</table>
</html>

BIN
FILES/error_707/info.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -0,0 +1,63 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<meta name="AUTHOR" content="Ulrich Mayer">
<meta name="DESCRIPTION" content="Liste der HTTP - Return Codes">
<meta name="robots" content="INDEX, FOLLOW">
<meta http-equiv="Content-Language" content="de"><title>HTTP - Return Codes</title></head><body bgcolor="WHITE">
<h1 align="center">HTTP - Return Codes</h1>
<hr>
<h3>Liste der gebräuchlichsten HTTP-Codes</h3>
<table border="1">
<tbody><tr><td> 100 </td><td>continue</td><td>weitere Daten senden</td></tr>
<tr><td> 101</td><td>switching protocols</td><td>Übertragungsprotokoll geändert</td></tr>
<tr><td> 200</td><td>ok</td><td> Übertragung ok</td></tr>
<tr><td> 201</td><td>created</td><td>Neue Datenquelle wurde erstellt </td></tr>
<tr><td> 202</td><td>accepted</td><td>Anfrage akzeptiert, aber noch nicht beantwortet</td></tr>
<tr><td> 203</td><td>non-authoritative information </td><td>Zwischengeschaltetes Programm kann Information verändert haben </td></tr>
<tr><td> 204</td><td>no content</td><td>es wurde nichts (neues) geliefert</td></tr>
<tr><td> 205</td><td>reset content </td><td>Inhalt soll zurückgesetzt werden</td></tr>
<tr><td> 206</td><td>partial content</td><td>Es wurde (nur) ein Teil des Inhaltes zurückgeliefert</td></tr>
<tr><td> 300</td><td>multiple choice</td><td>Es stehen mehrere Datenquellen zur Auswahl</td></tr>
<tr><td> 301</td><td>moved permanently</td><td>Dokument wurde dauerhaft verschoben ( neues Ziel wird in der Meldung angegeben )</td></tr>
<tr><td> 302</td><td>moved temporarily</td><td>Dokument wurde kurzzeitig verschoben ( neues Ziel wird in der Meldung angegeben )</td></tr>
<tr><td> 303</td><td>see other / method</td><td>Falscher Adressat für Anforderung ( neues Ziel wird in der Meldung angegeben )</td></tr>
<tr><td> 304</td><td>not modified</td><td>Dokument wurde seit der letzten Anforderung nicht verändert</td></tr>
<tr><td> 305</td><td>use proxy</td><td>Anfrage kann besser vom proxy beantwortet werden ( Adresse in der Meldung )</td></tr>
<tr><td> 306</td><td>unused</td><td>aktuell unbenutzt ( aber noch reserviert )</td></tr>
<tr><td> 307</td><td>moved temporarily</td><td>Dokument wurde kurzzeitig verschoben ( neues Ziel wird in der Meldung angegeben )&nbsp;&nbsp;</td></tr>
<tr><td> 400</td><td>bad request</td><td>Anfrage ist fehlerhaft</td></tr>
<tr><td> 401</td><td>unauthorized </td><td>keine Berechtigung</td></tr>
<tr><td> 402</td><td>payment required</td><td>nur gegen Bezahlung geht's weiter ( noch nicht eingesetzt )</td></tr>
<tr><td> 403</td><td>forbidden</td><td>Art des Zugriffs ist verboten</td></tr>
<tr><td> 404</td><td>not found</td><td>Dokument wurde nicht gefunden</td></tr>
<tr><td> 405</td><td>method not allowed</td><td> MIME-Typ passt nicht zum Dokument</td></tr>
<tr><td> 406</td><td>not acceptable</td><td>Anfrage wurde nicht akzeptiert</td></tr>
<tr><td> 407</td><td>proxy authentication required&nbsp;</td><td>keine Berechtigung durch proxy</td></tr>
<tr><td> 408</td><td>timeout</td><td>Anwort dauerte zu lange</td></tr>
<tr><td> 410</td><td>gone</td><td>Dokument wurde gelöscht</td></tr>
<tr><td> 411</td><td>length required</td><td>Länge des Dokuments muss angegeben werden</td></tr>
<tr><td> 413</td><td>too large</td><td>Anforderung ist zu lang</td></tr>
<tr><td> 414</td><td>URI to large</td><td>die angegebene Zieladresse ist zu lang</td></tr>
<tr><td> 415</td><td>unsupported media type</td><td>angegebener Dokumententyp wird nicht unterstützt</td></tr>
<tr><td> 500</td><td>internal server error</td><td>interner Fehler auf dem Server ( hard- oder software )</td></tr>
<tr><td> 501</td><td>not implemented</td><td>für diese Abfrage ist der Server nicht programmiert</td></tr>
<tr><td> 502</td><td>bad gateway</td><td>proxy oder gateway hat einen Fehler in den Daten erkannt</td></tr>
<tr><td> 503</td><td>service unavailable</td><td>Server ist überlastet</td></tr>
<tr><td> 504</td><td>gateway timeout</td><td>proxy oder gateway erhält keine Antwort vom Server</td></tr>
<tr><td> 505</td><td>version not supported </td><td>das verwendete HTTP-Protokoll wird nicht unterstützt</td></tr>
</tbody></table>
<br><br>
<hr>
</body></html>

62
FILES/maintenance.html Normal file
View File

@ -0,0 +1,62 @@
<!doctype html>
<html>
<head>
<title>Maintenance / Wartungsarbeiten</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
body {
background: #eee;
font: normal normal 16px/140% Arial, Helvetica, Trebuchet MS, Geneva, sans-serif;
word-wrap: break-word;
}
h1 {
font-size: 30px;
font-weight: bold;
line-height: 100%;
}
h2 {
font-size: 18px;
font-weight: bold;
line-height: 100%;
}
.Container {
background: #fff;
width: 825px;
}
.Content {
background: #fff;
font-size: 12px;
height: 400px;
line-height: 16px;
padding: 10px 20px;
}
</style>
<link rel="shortcut icon" href="/favicon.ico" />
</head>
<body>
<div class="Container">
<div class="Logo"></div>
<div class="Content">
<h1>Wartungsarbeiten</h1>
<h2>Diese Website wird gerade &uuml;berarbeitet.</h2>
<p>Bitte versuchen Sie es sp&auml;ter noch einmal.</p>
<p>Vielen Dank f&uuml;r Ihr Verst&auml;ndnis!</p>
<h1>Maintenance</h1>
<h2>The website is down for maintenance at the moment.</h2>
<p>Please try again later.</p>
<p>Thank you very much!</p>
</div><!-- .Content -->
</div><!-- .Container -->
</body>
</html>

62
FILES/no_such_site.html Normal file
View File

@ -0,0 +1,62 @@
<!doctype html>
<html>
<head>
<title>HTTP Error 404 / HTTP-Fehler 404</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
body {
background: #eee;
font: normal normal 16px/140% Arial, Helvetica, Trebuchet MS, Geneva, sans-serif;
word-wrap: break-word;
}
h1 {
font-size: 30px;
font-weight: bold;
line-height: 100%;
}
h2 {
font-size: 18px;
font-weight: bold;
line-height: 100%;
}
.Container {
background: #fff;
width: 825px;
}
.Content {
background: #fff;
font-size: 12px;
height: 400px;
line-height: 16px;
padding: 10px 20px;
}
</style>
<link rel="shortcut icon" href="/favicon.ico" />
</head>
<body>
<div class="Container">
<div class="Logo"></div>
<div class="Content">
<h1>HTTP Error 404</h1>
<h2>The requested site does not exist.</h2>
<p>Please check your spelling and try again.</p>
<p>Thank you very much!</p>
<h1>HTTP-Fehler 404</h1>
<h2>Die von Ihnen aufgerufene Website gibt es nicht.</h2>
<p>Bitte pr&uuml;fen Sie Ihre Eingabe und versuchen es nochmals.</p>
<p>Vielen Dank f&uuml;r Ihr Verst&auml;ndnis!</p>
</div><!-- .Content -->
</div><!-- .Container -->
</body>
</html>

8
FILES/phpinfo.php Normal file
View File

@ -0,0 +1,8 @@
<html>
<head>
<title>PHP Info</title>
</head>
<body>
<?php phpinfo(); ?>
</body>
</html>

View File

@ -0,0 +1,62 @@
<!doctype html>
<html>
<head>
<title>Maintenance / Wartungsarbeiten</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
body {
background: #eee;
font: normal normal 16px/140% Arial, Helvetica, Trebuchet MS, Geneva, sans-serif;
word-wrap: break-word;
}
h1 {
font-size: 30px;
font-weight: bold;
line-height: 100%;
}
h2 {
font-size: 18px;
font-weight: bold;
line-height: 100%;
}
.Container {
background: #fff;
width: 825px;
}
.Content {
background: #fff;
font-size: 12px;
height: 400px;
line-height: 16px;
padding: 10px 20px;
}
</style>
<link rel="shortcut icon" href="/favicon.ico" />
</head>
<body>
<div class="Container">
<div class="Logo"></div>
<div class="Content">
<h1>Seite im Aufbau</h1>
<h2>Diese Website wird in Kürze online gehen.</h2>
<p>Bitte versuchen Sie es sp&auml;ter noch einmal.</p>
<p>Vielen Dank f&uuml;r Ihr Verst&auml;ndnis!</p>
<h1>Site under construction</h1>
<h2>This website will go online soon.</h2>
<p>Please try again later.</p>
<p>Thank you very much!</p>
</div><!-- .Content -->
</div><!-- .Container -->
</body>
</html>

119
example/wp-site.conf Normal file
View File

@ -0,0 +1,119 @@
# - <FQHN-wp-site>
server {
listen 80;
listen [::]:80;
server_name <FQHN-wp-site>;
return 301 https://$host$request_uri;
}
server {
listen [::]:443 ssl;
listen 443 ssl;
server_name <FQHN-wp-site>;
root /var/www/<DOMAIN.TLD-wp-site>/htdocs;
# Add index.php to the list if you are using PHP
#
index index.php index.html index.htm;
# Include location directive for Let's Encrypt ACME Challenge
#
# Needed for (automated) updating certificate
#
include snippets/letsencrypt-acme-challenge.conf;
ssl on;
ssl_certificate /var/lib/dehydrated/certs/<FQHN-wp-site>/fullchain.pem;
ssl_certificate_key /var/lib/dehydrated/certs/<FQHN-wp-site>/privkey.pem;
# Diffie-Hellman parameter for DHE ciphersuites, recommended 2048 bits
#
# To generate a dhparam.pem file, run in a terminal
# openssl dhparam -dsaparam -out /etc/nginx/ssl/dhparam.pem 2048
#
ssl_dhparam /etc/nginx/ssl/dhparam.pem;
# Eable session resumption to improve https performance
ssl_session_cache shared:SSL:50m;
ssl_session_timeout 10m;
ssl_session_tickets off;
#ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # omit SSLv3 because of POODLE
# omit SSLv3 because of POODLE
# omit TLSv1 TLSv1.1
ssl_protocols TLSv1.2 TLSv1.3;
# ECDHE better than DHE (faster) ECDHE & DHE GCM better than CBC (attacks on AES)
# Everything better than SHA1 (deprecated)
#
ssl_ciphers 'ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256';
ssl_prefer_server_ciphers on;
# HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months)
#
add_header Strict-Transport-Security max-age=15768000;
# OCSP Stapling ---
# fetch OCSP records from URL in ssl_certificate and cache them
ssl_stapling on;
ssl_stapling_verify on;
location = /favicon.ico {
log_not_found off;
access_log off;
}
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
location / {
# This is cool because no php is touched for static content.
# include the "?$args" part so non-default permalinks doesn't break when using query string
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
#NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
fastcgi_intercept_errors on;
# regex to split $uri to $fastcgi_script_name and $fastcgi_path
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
# Bypass the fact that try_files resets $fastcgi_path_info
# see: http://trac.nginx.org/nginx/ticket/321
set $path_info $fastcgi_path_info;
fastcgi_param PATH_INFO $path_info;
fastcgi_index index.php;
# Use PHP-FPM socket directly
#
#fastcgi_pass unix:/tmp/php-7.4-fpm.www.sock;
# Use upstream
#
fastcgi_pass php-7.4-fpm;
include fastcgi_params;
#The following parameter can be also included in fastcgi_params file
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
}
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
expires max;
log_not_found off;
}
}