coa_shared: proxied layout — every HTTP service behind Caddy (ADR 0003, coa #141) #16

Merged
ben merged 1 commit from coa-shared-tls-front into main 2026-09-07 02:48:49 +00:00
Owner

closes #15

See the issue and docs/adr/0003-coa-shared-proxied-layout.md. Pin coa_shared_infra_ref = d59951a0f6cb315120b7dda07e990485eae9db3d (matou-infrastructure PR #18 head, pushed to GitLab as branch infra/coa-tls-front; it stays in main's history after that PR merges). ansible-playbook --syntax-check green; the Caddy template renders the full ladder (verified locally with the role defaults).

🤖 Generated with Claude Code

https://claude.ai/code/session_01BQKEtMvJWdLcmVteB5qXQy

closes #15 See the issue and `docs/adr/0003-coa-shared-proxied-layout.md`. Pin `coa_shared_infra_ref` = `d59951a0f6cb315120b7dda07e990485eae9db3d` (matou-infrastructure PR #18 head, pushed to GitLab as branch `infra/coa-tls-front`; it stays in main's history after that PR merges). `ansible-playbook --syntax-check` green; the Caddy template renders the full ladder (verified locally with the role defaults). 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01BQKEtMvJWdLcmVteB5qXQy
coa-infra.<domain> now fronts KERIA (/keria/admin, /keria/boot, /keria/cesr),
the schema server (/schema) and the six witnesses (/witness/<name>) with
handle_path — prefix stripped, because signify-ts signs the KERIA-relative
path — and keeps the tenant-mode config server as the catch-all. The role
passes PUBLIC_BASE_URL + EXTERNAL_SCHEME=https to generate-env.sh coa, pins
matou-infrastructure at the commit that mints the proxied layout and binds the
HTTP services to loopback (keri/docker-compose.coa.yml), deletes the ufw allow
rules it used to open for the raw KERI ports (only any-sync stays public), and
probes the ladder over https after the Caddy reload.

Why: HSTS on the host name upgraded every raw-port KERIA fetch to https and
broke desktop org setup on the first real run (coa #141); Docker-published
ports bypass ufw, so the "loopback" config server on 5904 answered from the
internet too.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BQKEtMvJWdLcmVteB5qXQy
ben merged commit c93c9f03ab into main 2026-09-07 02:48:49 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/matou-distributed-servers!16
No description provided.