feat: caddy test

This commit is contained in:
Nick 2024-12-20 01:59:20 -06:00
parent f027e7f43c
commit 306ec94030

View file

@ -9,14 +9,15 @@ in {
virtualHosts = { virtualHosts = {
"${host}" = { "${host}" = {
extraConfig = '' extraConfig = ''
root * ${service.paths.path0} log {
level DEBUG
output file /var/log/caddy/access.log
}
root * ${service.path.path0}
file_server file_server
encode gzip encode gzip
try_files {path} /index.html try_files {path} /index.html
tls ${service.ssl.cert} ${service.ssl.key}
''; '';
}; };
}; };