404 error page

This commit is contained in:
2024-04-25 12:29:39 +02:00
parent d44fd0a1c1
commit c3bc2bd5d6
6 changed files with 32 additions and 2 deletions

View File

@ -10,7 +10,7 @@ server {
index index.html index.htm;
}
error_page 404 /404.html;
error_page 404 500 502 503 504 /404.html;
location = /404.html {
root /usr/share/nginx/html;
}