Update log config

This commit is contained in:
BBaoVanC 2021-12-17 21:01:01 -06:00
parent 030bf31bca
commit e3926aa2ea
2 changed files with 5 additions and 4 deletions

View File

@ -42,7 +42,11 @@
(log) {
log {
output file /var/log/caddy/access.log
output file /var/log/caddy/access.log {
roll_size 1GiB
roll_keep 5
roll_keep_for 168h
}
}
}

View File

@ -3,9 +3,6 @@
matrix.boba.best {
encode zstd gzip
import hsts
log {
output file /var/log/caddy/matrix.boba.best.log
}
import matrix-well-known