From 7a540ff26bf2c296eae30260b3c4b7e10a9d3800 Mon Sep 17 00:00:00 2001 From: Vlad Gothbreach Date: Sat, 31 Oct 2026 15:53:57 +0300 Subject: [PATCH] Drop Caddy access log: API requests are not logged Co-Authored-By: Claude Opus 5.5 --- deploy/caddy/Caddyfile.example | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/deploy/caddy/Caddyfile.example b/deploy/caddy/Caddyfile.example index 37a87cad..09ac9807 100644 --- a/deploy/caddy/Caddyfile.example +++ b/deploy/caddy/Caddyfile.example @@ -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"