From 405d1f6789cba45855fc73159883f6ce96f8050b Mon Sep 17 00:00:00 2001 From: sophie Date: Fri, 28 Mar 2025 09:19:34 +0000 Subject: [PATCH] Update example caddyfile (#2285) --- contrib/caddy/caddyfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/caddy/caddyfile b/contrib/caddy/caddyfile index e55efe9..d23dccc 100644 --- a/contrib/caddy/caddyfile +++ b/contrib/caddy/caddyfile @@ -1,6 +1,6 @@ +# more info: https://caddyserver.com/docs/caddyfile/patterns#single-page-apps-spas cinny.domain.tld { - @nativeRouter not file {path} / - rewrite @nativeRouter {http.matchers.file.relative} - root * /path/to/caddy/dist + root * /path/to/cinny/dist + try_files {path} / index.html file_server }