diff --git a/systems/x86_64-linux/prefect/services/caddy.nix b/systems/x86_64-linux/prefect/services/caddy.nix index 7ac715c9..a96d2bcb 100644 --- a/systems/x86_64-linux/prefect/services/caddy.nix +++ b/systems/x86_64-linux/prefect/services/caddy.nix @@ -98,10 +98,9 @@ in handle /_matrix/* { reverse_proxy http://${marvin}:${toString pns.matrix-server.port} } - @nativeRouter not file {path} / handle { - rewrite @nativeRouter {http.matchers.file.relative} - root * /var/www/cinny/dist + root * /var/www/cinny/dist/ + try_files {path} / index.html file_server } '';