|
|
||
|---|---|---|
| .. | ||
| README.md | ||
@companion nginx / reverse proxy
Development (apricot)
Managed by Caddy in the lilith-platform Caddyfile:
@projects/@lilith/lilith-platform.live/infrastructure/Caddyfile.local
Domain: ai.quinn.apricot.local — routes API paths (/health, /voice/*, /chat, /session/*, /api/*) to companion-api on :3850, everything else to Vite dev server on :5850.
Reload after changes:
cd ~/Code/@projects/@lilith/lilith-platform.live
caddy reload --config infrastructure/Caddyfile.local
Production (VPS)
nginx config in @deployments/quinn.ai/nginx/prod.conf.
Domain: ai.transquinnftw.com — deployed via @deployments/quinn.ai/deploy.sh.
Voice WebSocket Notes
- Binary PCM frames must not be buffered — any buffering causes audio glitches
- Voice sessions can last up to 1 hour
- The chat endpoint uses SSE with
flush_interval -1(Caddy) /proxy_buffering off(nginx)