Nginx解决CORS跨域问题

如下server{ listen 80; server_name www.b.com; location / { add_header "Access-Control-Allow-Origin" "http://www.a.com