diff --git a/host-caddy/tomtervel.no b/host-caddy/tomtervel.no index f75b680..92e6655 100644 --- a/host-caddy/tomtervel.no +++ b/host-caddy/tomtervel.no @@ -6,6 +6,18 @@ tomtervel.no { reverse_proxy 127.0.0.1:3050 + # Every request, with how long it took and what it was answered: + # what to read when the site was slow or a page said it could not + # reach the server. Addresses and what was asked for are in it, so + # it is kept two weeks and no longer. Caddy runs as `caddy`: + # `sudo install -d -o caddy -g caddy /var/log/caddy` once. + log { + output file /var/log/caddy/tomtervel.no.log { + roll_size 20MiB + roll_keep 5 + roll_keep_for 336h + } + } } www.tomtervel.no {