From d75b282027157f18635edc9ac502ed9635d5bb58 Mon Sep 17 00:00:00 2001 From: Stefan van Herwijnen Date: Wed, 11 Dec 2024 16:33:52 +0100 Subject: [PATCH] fix(docs): fix 404 --- packages/docs/build/Caddyfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/docs/build/Caddyfile b/packages/docs/build/Caddyfile index 85c6410..58f1ef8 100644 --- a/packages/docs/build/Caddyfile +++ b/packages/docs/build/Caddyfile @@ -1,7 +1,12 @@ www.slimfact.app { - handle { + handle_path /* { root * /srv/www.slimfact.app try_files {path}.html {path} /404.html file_server } + handle / { + root * /srv/www.slimfact.app + try_files index.html + file_server + } } \ No newline at end of file