feat: caddy test

This commit is contained in:
Nick 2024-12-20 02:00:12 -06:00
parent 306ec94030
commit 29a7449111
2 changed files with 6 additions and 5 deletions

View file

@ -14,6 +14,7 @@
"logrotate"
"minecraft"
"ollama"
"upRootNutrition"
"peertube"
"postgresql"
"owncast"

View file

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