mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-11 03:51:01 +00:00
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>
26 lines
523 B
Caddyfile
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
|
|
}
|