nanochat/nginx
Manmohan Sharma 3f7a7da30b
fix(nginx): route all /api/* through frontend, not directly to chat-api
Nginx was catching /api/chat/stream and /api/conversations and sending
them to chat-api:8002, bypassing the frontend's Next.js API routes.
Now only /api/auth/* goes directly to auth service. Everything else
goes to frontend, which proxies internally to backend services.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 14:45:49 -07:00
..
nginx.conf fix(nginx): route all /api/* through frontend, not directly to chat-api 2026-04-16 14:45:49 -07:00