Add basic 404 page

This commit is contained in:
Raymonzut
2020-06-16 17:13:47 +02:00
parent fb5fc2ede2
commit cf1ef4257c
2 changed files with 15 additions and 0 deletions
+5
View File
@@ -26,6 +26,11 @@ http {
alias /app/assets/styling;
}
error_page 404 /404.html;
location = /404.html {
root /app/error;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;