mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
feat: caddy test
This commit is contained in:
parent
306ec94030
commit
29a7449111
2 changed files with 6 additions and 5 deletions
|
@ -14,6 +14,7 @@
|
||||||
"logrotate"
|
"logrotate"
|
||||||
"minecraft"
|
"minecraft"
|
||||||
"ollama"
|
"ollama"
|
||||||
|
"upRootNutrition"
|
||||||
"peertube"
|
"peertube"
|
||||||
"postgresql"
|
"postgresql"
|
||||||
"owncast"
|
"owncast"
|
||||||
|
|
|
@ -9,14 +9,14 @@ in {
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"${host}" = {
|
"${host}" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
log {
|
root * ${service.paths.path0}
|
||||||
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}
|
tls ${service.ssl.cert} ${service.ssl.key}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue