diff --git a/FILES/error_707/index.html b/FILES/error_707/index.html new file mode 100644 index 0000000..ad81334 --- /dev/null +++ b/FILES/error_707/index.html @@ -0,0 +1,24 @@ + + + HTTP Fehler 707 + + + + + + + + + + + + + +
+

HTTP Fehler 707

+
+
+

Das Ende des Internets ist ereicht.

+

Beim nächsten Klick wird Ihr Computer abstürzen.

+
+ diff --git a/FILES/error_707/info.jpg b/FILES/error_707/info.jpg new file mode 100644 index 0000000..5e8fb02 Binary files /dev/null and b/FILES/error_707/info.jpg differ diff --git a/FILES/html_return_codes.html b/FILES/html_return_codes.html new file mode 100644 index 0000000..f74a499 --- /dev/null +++ b/FILES/html_return_codes.html @@ -0,0 +1,63 @@ + + + + + + + +HTTP - Return Codes + +

HTTP - Return Codes

+
+ +

Liste der gebräuchlichsten HTTP-Codes

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
100 continueweitere Daten senden
101switching protocolsÜbertragungsprotokoll geändert
200ok Übertragung ok
201createdNeue Datenquelle wurde erstellt
202acceptedAnfrage akzeptiert, aber noch nicht beantwortet
203non-authoritative information Zwischengeschaltetes Programm kann Information verändert haben
204no contentes wurde nichts (neues) geliefert
205reset content Inhalt soll zurückgesetzt werden
206partial contentEs wurde (nur) ein Teil des Inhaltes zurückgeliefert
300multiple choiceEs stehen mehrere Datenquellen zur Auswahl
301moved permanentlyDokument wurde dauerhaft verschoben ( neues Ziel wird in der Meldung angegeben )
302moved temporarilyDokument wurde kurzzeitig verschoben ( neues Ziel wird in der Meldung angegeben )
303see other / methodFalscher Adressat für Anforderung ( neues Ziel wird in der Meldung angegeben )
304not modifiedDokument wurde seit der letzten Anforderung nicht verändert
305use proxyAnfrage kann besser vom proxy beantwortet werden ( Adresse in der Meldung )
306unusedaktuell unbenutzt ( aber noch reserviert )
307moved temporarilyDokument wurde kurzzeitig verschoben ( neues Ziel wird in der Meldung angegeben )  
400bad requestAnfrage ist fehlerhaft
401unauthorized keine Berechtigung
402payment requirednur gegen Bezahlung geht's weiter ( noch nicht eingesetzt )
403forbiddenArt des Zugriffs ist verboten
404not foundDokument wurde nicht gefunden
405method not allowed MIME-Typ passt nicht zum Dokument
406not acceptableAnfrage wurde nicht akzeptiert
407proxy authentication required keine Berechtigung durch proxy
408timeoutAnwort dauerte zu lange
410goneDokument wurde gelöscht
411length requiredLänge des Dokuments muss angegeben werden
413too largeAnforderung ist zu lang
414URI to largedie angegebene Zieladresse ist zu lang
415unsupported media typeangegebener Dokumententyp wird nicht unterstützt
500internal server errorinterner Fehler auf dem Server ( hard- oder software )
501not implementedfür diese Abfrage ist der Server nicht programmiert
502bad gatewayproxy oder gateway hat einen Fehler in den Daten erkannt
503service unavailableServer ist überlastet
504gateway timeoutproxy oder gateway erhält keine Antwort vom Server
505version not supported das verwendete HTTP-Protokoll wird nicht unterstützt
+ + +

+
+ + + diff --git a/FILES/maintenance.html b/FILES/maintenance.html new file mode 100644 index 0000000..39681af --- /dev/null +++ b/FILES/maintenance.html @@ -0,0 +1,62 @@ + + + +Maintenance / Wartungsarbeiten + + + + + + +
+ + + +
+ +

Wartungsarbeiten

+

Diese Website wird gerade überarbeitet.

+

Bitte versuchen Sie es später noch einmal.

+

Vielen Dank für Ihr Verständnis!

+ +

Maintenance

+

The website is down for maintenance at the moment.

+

Please try again later.

+

Thank you very much!

+ +
+
+ + + diff --git a/FILES/no_such_site.html b/FILES/no_such_site.html new file mode 100644 index 0000000..77ccecf --- /dev/null +++ b/FILES/no_such_site.html @@ -0,0 +1,62 @@ + + + +HTTP Error 404 / HTTP-Fehler 404 + + + + + + +
+ + + +
+ +

HTTP Error 404

+

The requested site does not exist.

+

Please check your spelling and try again.

+

Thank you very much!

+ +

HTTP-Fehler 404

+

Die von Ihnen aufgerufene Website gibt es nicht.

+

Bitte prüfen Sie Ihre Eingabe und versuchen es nochmals.

+

Vielen Dank für Ihr Verständnis!

+ +
+
+ + + diff --git a/FILES/phpinfo.php b/FILES/phpinfo.php new file mode 100644 index 0000000..7d27d5e --- /dev/null +++ b/FILES/phpinfo.php @@ -0,0 +1,8 @@ + + + PHP Info + + + + + diff --git a/FILES/under_construction.html b/FILES/under_construction.html new file mode 100644 index 0000000..288e8e5 --- /dev/null +++ b/FILES/under_construction.html @@ -0,0 +1,62 @@ + + + +Maintenance / Wartungsarbeiten + + + + + + +
+ + + +
+ +

Seite im Aufbau

+

Diese Website wird in Kürze online gehen.

+

Bitte versuchen Sie es später noch einmal.

+

Vielen Dank für Ihr Verständnis!

+ +

Site under construction

+

This website will go online soon.

+

Please try again later.

+

Thank you very much!

+ +
+
+ + + diff --git a/example/wp-site.conf b/example/wp-site.conf new file mode 100644 index 0000000..e9483bd --- /dev/null +++ b/example/wp-site.conf @@ -0,0 +1,119 @@ +# - + +server { + + listen 80; + listen [::]:80; + + server_name ; + + return 301 https://$host$request_uri; +} + +server { + + listen [::]:443 ssl; + listen 443 ssl; + + server_name ; + + root /var/www//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//fullchain.pem; + ssl_certificate_key /var/lib/dehydrated/certs//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; + } +}