client/nginx.conf only serves static assets plus the SPA fallback. It does not proxy /api or /collaboration, so in the production compose the browser must hit the server port directly (cross-origin). Add proxy_pass for both so the client can be served from a single origin.
client/nginx.confonly serves static assets plus the SPA fallback. It does not proxy/apior/collaboration, so in the production compose the browser must hit the server port directly (cross-origin). Addproxy_passfor both so the client can be served from a single origin.