nginx配置允许跨域
在nginx — localtion 地址。。。{ 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-Headers 'Accept,A
原创
2020-11-19 15:05:05 ·
1672 阅读 ·
0 评论