Files
coa-server-manager/services/coa-registry/deploy/Caddyfile
T
ДмитрийandClaude Sonnet 5.5 1267bcc41e Phase 10: central realm Registry, Host publishing lifecycle, deployment
crates/coa-registry-proto (protocol 1: types, limits, signed-request canonicalisation, test vectors),
services/coa-registry (axum + PostgreSQL, migrations, rate limits, Dockerfile, deploy files),
services/coa-registry-e2e (Host lifecycle against the real service, live VPS gate),
coa-core realm_registry (identity keys, client, publishing loop on its own thread),
Settings -> Public listing card, docs REGISTRY_PROTOCOL.md and REGISTRY_DEPLOYMENT.md.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-07 20:23:13 +05:00

26 lines
523 B
Caddyfile

{
# No domain yet: plain HTTP on :80 only, no ACME, no admin API. HTTPS is required before the public phases.
auto_https off
admin off
}
:80 {
respond /healthz "ok" 200
handle /registry/* {
request_body {
max_size 70KB
}
reverse_proxy coa-registry:8080 {
# the Registry rate-limits by the address Caddy saw, taken from the last entry of this header
header_up X-Forwarded-For {remote_host}
transport http {
dial_timeout 3s
response_header_timeout 15s
}
}
}
respond "not found" 404
}