Compare commits

..
2 Commits
Author SHA1 Message Date
blandClaude 4fc2966b89 An access log for tomtervel.no on kasse's Caddy
The portal's own log says nothing of a request that was slow or never
answered, and the host Caddy kept none for the site. Each request is now
written with its duration and status, rolled at 20 MiB and kept two
weeks.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDjRr9xfrtcDzcdJNr2
2026-11-25 14:11:00 +01:00
bl e7c6ac6124 Merge pull request 'gdo from the registry again: 0.4.0 is published' (#20) from gdo-0-4 into main
deploy / deploy (push) Successful in 58s
2026-11-24 19:13:14 +01:00
+12
View File
@@ -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 {