Drop Caddy access log: API requests are not logged
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
3765b00b52
commit
7a540ff26b
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user