From 0332d93a8ff45c61537a066091a9b432997ee472 Mon Sep 17 00:00:00 2001 From: Midou36O Date: Sat, 10 Feb 2024 11:53:04 +0100 Subject: [PATCH] Edit this config once and for all (I'm getting tired of this being removed). --- privfrontends/templates/eu/misc.Caddyfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/privfrontends/templates/eu/misc.Caddyfile b/privfrontends/templates/eu/misc.Caddyfile index 879c686..0b4be56 100644 --- a/privfrontends/templates/eu/misc.Caddyfile +++ b/privfrontends/templates/eu/misc.Caddyfile @@ -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 }