diff --git a/Caddyfile b/Caddyfile index b3c9ce6..ab87b83 100644 --- a/Caddyfile +++ b/Caddyfile @@ -2,5 +2,8 @@ root * /www/html file_server try_files {path}.html {path} + handle_errors { + rewrite * /404.html + file_server + } } -