From c68d3d52dae2157537eb5b4bcd735dc10af4322b Mon Sep 17 00:00:00 2001 From: GregLebreton Date: Sat, 16 Jul 2022 22:09:43 +0200 Subject: [PATCH] back to the custom page push --- README.md | 15 ++++++++ custom-error-page.html | 84 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 99 insertions(+) create mode 100644 README.md create mode 100644 custom-error-page.html diff --git a/README.md b/README.md new file mode 100644 index 0000000..6d0593d --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# CUSTOM-ERROR-PAGE + +Page custom pour les 40X et 50x pour la stack du garage numérique. + +## PROCESSUS + +### CONFIGURATION NGINX (à insérer dans le block HTTPS): +```bash +error_page 400 404 500 502 503 504 /custom-error-page.html; + location = /custom-error-page.html { + root /usr/share/nginx/html; + internal; + } +``` +## ET VOILA ! diff --git a/custom-error-page.html b/custom-error-page.html new file mode 100644 index 0000000..0bcff14 --- /dev/null +++ b/custom-error-page.html @@ -0,0 +1,84 @@ + + + + page introuvable + + + + + + + + + + +
+
+ +

Cette page est actuellement en maintenance...

+

laissez-vous guider BACK

+
+
+ Transformer logo +
+ + + +