Skip to content
ohsudo, Home

Tags

#http-headers

blocked by CORS policy
Networking

"Blocked by CORS policy": what the browser is really refusing, and how to fix it on the server

Fix "has been blocked by CORS policy: No Access-Control-Allow-Origin header": why it happens, the fix on the server or in Nginx, preflight requests, and cookies.

Intermediate · 4 min read