feat: add space subdomain routing and ownership support

- Traefik wildcard HostRegexp for <space>.r*.online subdomains
- Middleware subdomain extraction and path rewriting
- Provision endpoint with owner_did acknowledgement
- Registry enforces space ownership via EncryptID JWT

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-02-25 13:20:11 -08:00
parent e473152076
commit 1e5a284895
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ services:
restart: unless-stopped restart: unless-stopped
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.rstack.rule=Host(`rstack.online`) || Host(`www.rstack.online`)" - "traefik.http.routers.rstack.rule=Host(`rstack.online`) || Host(`www.rstack.online`) || HostRegexp(`{subdomain:[a-z0-9-]+}.rstack.online`)"
- "traefik.http.services.rstack.loadbalancer.server.port=80" - "traefik.http.services.rstack.loadbalancer.server.port=80"
healthcheck: healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:80/"] test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:80/"]