Add nginx reverse proxy for /api and /health to backend server #5

Merged
josh merged 1 commits from feature/auth-invites into main 2026-04-27 20:00:16 -04:00

1 Commits

Author SHA1 Message Date
josh 6cf5bf76b3 Add nginx reverse proxy for /api and /health to backend server
The frontend builds with VITE_API_URL=/api so all API calls target
the same origin. Without a proxy rule, nginx was serving index.html
for API paths, causing JSON parse errors.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-27 19:59:32 -04:00