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;
标签:Control,http,跨域,header,配置,Access,nginx,add,Allow From: https://www.cnblogs.com/zxd-bk/p/17585775.html