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) {
|
(api_common) {
|
||||||
# There were NO access logs at all, so the 429 storm of 2026-10-03 could not be
|
# API requests are not logged: no access log.
|
||||||
# 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
|
|
||||||
}
|
|
||||||
header {
|
header {
|
||||||
Strict-Transport-Security "max-age=15552000; includeSubDomains"
|
Strict-Transport-Security "max-age=15552000; includeSubDomains"
|
||||||
X-Content-Type-Options "nosniff"
|
X-Content-Type-Options "nosniff"
|
||||||
|
|||||||
Reference in New Issue
Block a user