Nginx配置跨域请求 Access-Control-Allow-Origin *

当出现403跨域错误的时候 No 'Access-Control-Allow-Origin' header is present on the requested resource,须要给Nginx服务器配置响应的header参数:html 1、 解决方案 只须要在Nginx的配置文件中配置如下参数:web location / { add_header Access-Control-
相关文章
相关标签/搜索