Edit this config once and for all (I'm getting tired of this being

removed).
This commit is contained in:
Midou36O 2024-02-10 11:53:04 +01:00
parent d6a9daa6a0
commit 0332d93a8f
Signed by: midou
GPG Key ID: 1D134A95FE521A7A
1 changed files with 4 additions and 3 deletions

View File

@ -68,8 +68,9 @@ www.midou.dev midou.dev {
# reverse_proxy https://midou36o.github.io {
# header_up Host {http.reverse_proxy.upstream.hostport}
# }
root * /var/www/midouwebsite
#root * /var/www/midouwebsite
reverse_proxy https://localhost:3000
# Apparently sveltekit built apps needs to have strict path tries.
try_files {path} {path}/index.html {path}.html =404
file_server
#try_files {path} {path}/index.html {path}.html =404
#file_server
}