docs: sync remaining md (AGENTS, ARCHITECTURE, READMEs to 4001/4009, Nix)

This commit is contained in:
asepharyana
2026-08-02 16:42:57 +07:00
parent 38c27eb5bb
commit 12c55ef486
3 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -17,9 +17,9 @@ Discord → discord-gateway → Redis pub/sub → backend (Express :4001) ←→
└ WS /ws (events + PCM binary)
```
- **Base URL**: API + WS default to same-origin. `gmw-proxy` nginx (:8080)
proxies `/api` and `/ws` to the backend on :3001. Public host:
`imphnen.asepharyana.my.id` (Cloudflare SSL in front of Traefik → :8080).
- **Base URL**: API + WS default to same-origin. `gmw-proxy` nginx (:4009)
proxies `/api` and `/ws` to the backend on :4001. Public host:
`imphnen.asepharyana.my.id` (Caddy reverse proxy → :4009).
- Local dev overrides: `NEXT_PUBLIC_API_URL` and `NEXT_PUBLIC_WS_URL`
(e.g. https://imphnen.asepharyana.my.id).
- **Never hardcode a host** in api/ws clients — same-origin or env override only.