diff --git a/privfrontends/templates/eu/misc.Caddyfile b/privfrontends/templates/eu/misc.Caddyfile index 0d56886..8bc1621 100644 --- a/privfrontends/templates/eu/misc.Caddyfile +++ b/privfrontends/templates/eu/misc.Caddyfile @@ -68,6 +68,7 @@ www.midou.dev midou.dev { # header_up Host {http.reverse_proxy.upstream.hostport} # } root * /var/www/midouwebsite +# Apparently sveltekit built apps needs to have strict path tries. +try_files {path} {path}/index.html {path}.html =404 file_server -import def }