diff --git a/nixos/modules/services/default.nix b/nixos/modules/services/default.nix index 71b6ce8..4d0182f 100755 --- a/nixos/modules/services/default.nix +++ b/nixos/modules/services/default.nix @@ -14,6 +14,7 @@ "logrotate" "minecraft" "ollama" + "upRootNutrition" "peertube" "postgresql" "owncast" diff --git a/nixos/modules/services/upRootNutrition.nix b/nixos/modules/services/upRootNutrition.nix index 78767bd..b92aaff 100755 --- a/nixos/modules/services/upRootNutrition.nix +++ b/nixos/modules/services/upRootNutrition.nix @@ -9,14 +9,14 @@ in { virtualHosts = { "${host}" = { extraConfig = '' - log { - level DEBUG - output file /var/log/caddy/access.log - } - root * ${service.path.path0} + root * ${service.paths.path0} + file_server + encode gzip + try_files {path} /index.html + tls ${service.ssl.cert} ${service.ssl.key} ''; };