diff --git a/files/templates/errors/WPD/404.html b/files/templates/errors/WPD/404.html new file mode 100644 index 000000000..0b80e29b9 --- /dev/null +++ b/files/templates/errors/WPD/404.html @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + Not Found - WPD + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + site banner + + + + +
+
+
+
+
+
+ :#marseyconfused: +
Not Found
+

+ That wasn't found. +

+ +
+
+
+
+
+
+ + diff --git a/files/templates/errors/rDrama/404.html b/files/templates/errors/rDrama/404.html new file mode 100644 index 000000000..94b8272bb --- /dev/null +++ b/files/templates/errors/rDrama/404.html @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + Not Found - where did it go? - rDrama + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + site banner + + + + +
+
+
+
+
+
+ :#marseyconfused: +
Not Found - where did it go?
+

+ Someone typed something wrong and it was probably you, please do better. +

+ +
+
+
+
+
+
+ + diff --git a/nginx.conf b/nginx.conf index 7f02eb4ac..53763573b 100644 --- a/nginx.conf +++ b/nginx.conf @@ -28,6 +28,12 @@ server { alias /rDrama/files/assets/offline.html; include includes/headers; } + error_page 404 = /404.html; + location =/404.html { + alias /rDrama/files/templates/errors/rDrama/404.html; + include includes/headers; + add_header Cache-Control "no-store"; + } error_page 502 = /502.html; location =/502.html { alias /rDrama/files/templates/errors/rDrama/502.html;