add 404 redirect

This commit is contained in:
Tomoya Matsuura(docker1) 2024-02-06 02:17:52 +00:00
parent 834a505601
commit fd3c5a6d8b

View File

@ -2,5 +2,8 @@
root * /www/html
file_server
try_files {path}.html {path}
handle_errors {
rewrite * /404.html
file_server
}
}