Skip to content

Refuse /attest bodies over 64 KB at Caddy in the oracle's example config [skip ci] - #313

Merged
RunTimeAdmin merged 1 commit into
mainfrom
docs/caddy-attest-limit
Nov 15, 2026
Merged

RunTimeAdmin merged 1 commit into
mainfrom
docs/caddy-attest-limit

Conversation

@RunTimeAdmin

Copy link
Copy Markdown
Owner

Adds the request_body limit that went live with #311 to oracle/Caddyfile.oracle.example.

  • What it does: inside the @attest handle, Caddy refuses a body over 64 KB. The oracle itself takes 32 KB on /attest and cuts a body still arriving after 10 s; this keeps oversized bodies off its socket.
  • Why only that block: the Caddy that serves the oracle also serves other sites.

Live since 15 Nov 2026 18:00 UTC on archipelago-standby. Caddy's saved config shows max_size 64000 in the oracle's /attest route alone. counteraudit.io, index.sigvara.xyz and sigvara.xyz still answer 200.

Checks: a config example only, checked locally with node scripts/check-docs.mjs, so [skip ci].

Not changed: the example already differed from the live file before this:

  • The live file has the @doubleslash guard from the 24 Oct review, and the example does not.
  • The two route /badge/* differently.

🤖 Generated with Claude Code

…fig [skip ci]

The same lines went into the live Caddyfile on archipelago-standby on 15 Nov 2026,
with #311: the oracle takes 32 KB on /attest and cuts a body still arriving after
10 s, and this keeps oversized bodies off its socket. Kept inside the @Attest
handle, since the Caddy that serves the oracle also serves other sites.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@RunTimeAdmin
RunTimeAdmin merged commit 7b0b97e into main Nov 15, 2026
3 checks passed
@RunTimeAdmin
RunTimeAdmin deleted the docs/caddy-attest-limit branch November 15, 2026 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant