Fix my website

This commit is contained in:
Midou36O 2023-12-24 16:29:28 +01:00
parent 2229c63407
commit 0a4b8fd30e
Signed by: midou
GPG Key ID: 1D134A95FE521A7A
1 changed files with 2 additions and 1 deletions

View File

@ -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
}