Skip to content

Commit 3fbccd6

Browse files
kenneivesclaude
andcommitted
nginx: proxy /.well-known/cte-test-vectors.json to backend
Partners implementing CTEF v0.3 verifiers (APS, AgentID, MoltBridge, Verascore, Concordia) fetch the published test vectors from this path to cross-validate their JCS canonicalizer locally. Without this rule nginx returns the SPA shell and partners see HTML instead of the reference document. Companion nginx rules exist for /.well-known/jwks.json, /agent-trust.json, /webhook-test-vectors.json, /did.json. Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
1 parent e9f739c commit 3fbccd6

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

nginx/nginx.conf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,15 @@ http {
130130
proxy_set_header X-Forwarded-Proto $scheme;
131131
}
132132

133+
# CTEF v0.3 test vectors — deterministic JCS canonicalization reference
134+
location /.well-known/cte-test-vectors.json {
135+
proxy_pass http://backend:8000;
136+
proxy_set_header Host $host;
137+
proxy_set_header X-Real-IP $remote_addr;
138+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
139+
proxy_set_header X-Forwarded-Proto $scheme;
140+
}
141+
133142
# Bluesky feed generator — AT Protocol endpoints
134143
location /.well-known/did.json {
135144
proxy_pass http://backend:8000;

0 commit comments

Comments
 (0)