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
This commit is contained in:
1 file changed
+12
@@ -6,6 +6,18 @@
|
|||||||
|
|
||||||
tomtervel.no {
|
tomtervel.no {
|
||||||
reverse_proxy 127.0.0.1:3050
|
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 {
|
www.tomtervel.no {
|
||||||
|
|||||||
Reference in new issue
Block a user