Drop Caddy access log: API requests are not logged
checks / pytest (push) Has been cancelled
checks / moderation (push) Has been cancelled
checks / node (push) Has been cancelled

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Vlad Gothbreach
2026-10-31 15:53:57 +03:00
co-authored by Claude Opus 5.5
parent 3765b00b52
commit 7a540ff26b
+1 -10
View File
@@ -15,16 +15,7 @@
}
(api_common) {
# There were NO access logs at all, so the 429 storm of 2026-10-03 could not be
# attributed to a client until the relay log was grepped by hand.
log {
output file /var/log/caddy/access.log {
roll_size 30MiB
roll_keep 10
roll_keep_for 720h
}
format json
}
# API requests are not logged: no access log.
header {
Strict-Transport-Security "max-age=15552000; includeSubDomains"
X-Content-Type-Options "nosniff"