nginx解决跨域问题的正确配置方式
server { #其他配置..... location / { add_header Access-Control-Allow-Origin '*'; add_header Access-Control-Allow-Methods 'GET, POST, PATCH, PUT, OPTIONS, DELETE'; add_header Access-Control-Expose-Headers '*'; add_header Acc.
原创
2020-06-05 13:46:45 ·
755 阅读 ·
0 评论