feat: caddy test

This commit is contained in:
Nick 2024-12-20 00:29:03 -06:00
parent eace98bd06
commit 5ce9c5ceb5
2 changed files with 3 additions and 1 deletions

View file

@ -13,7 +13,7 @@ in {
path0 = "${sopsPath}/${upRootNutritionName}"; path0 = "${sopsPath}/${upRootNutritionName}";
}; };
paths = { paths = {
path0 = "${servicePath}/${upRootNutritionLabel}"; path0 = "${servicePath}/website/dist";
path1 = ""; path1 = "";
path2 = ""; path2 = "";
}; };

View file

@ -9,6 +9,8 @@ in {
virtualHosts = { virtualHosts = {
"${host}" = { "${host}" = {
extraConfig = '' extraConfig = ''
root * /var/lib/website/dist/index.html
redir /.well-known/carddav /remote.php/dav/ 301 redir /.well-known/carddav /remote.php/dav/ 301
redir /.well-known/caldav /remote.php/dav/ 301 redir /.well-known/caldav /remote.php/dav/ 301