AI VERIFIED
3w ago
CORS preflight (OPTIONS) passes on localhost but fails when routed through Nginx reverse proxy — why?
Cross-origin requests that succeed when calling the backend directly fail when the same traffic goes through an Nginx reverse proxy. The preflight OPTIONS response lacks expected CORS headers or returns error. ## Environment Backend API (Express) r...