add_header Access-Control-Allow-Origin '*';
add_header 'Access-Control-Allow-Credentials' 'true';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
哪个跨域就贴在哪个代理文件下面
add_header Access-Control-Allow-Origin '*';
add_header 'Access-Control-Allow-Credentials' 'true';
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS';
哪个跨域就贴在哪个代理文件下面