nginx跨域配置
add_header Access-Control-Allow-Credentials true;
add_header Access-Control-Allow-Headers $http_access_control_request_headers;
add_header Access-Control-Allow-Methods 'POST, GET, OPTIONS, DELETE, PUT, HEAD, PATCH';
add_header Access-Control-Allow-Origin $http_origin;
add_header Access-Control-Expose-Headers $http_access_control_request_headers;
本文来自博客园,作者:弓长九日东,转载请注明原文链接:https://www.cnblogs.com/zxd-bk/p/17585775.html