Nginx. 用http访谒https跨域
用http 访谒 https域名, 报跨越问题
解决要领:
在nginx相应处事的转发配置下添加:
add_header ‘Access-Control-Allow-Origin‘ ‘‘; add_header ‘Access-Control-Allow-Headers‘ ‘Origin, X-Requested-With, Content-Type, Accept‘;
Nginx. 用http访谒https跨域
,温馨提示: 本文由Jm博客推荐,转载请保留链接: https://www.jmwww.net/file/web/31580.html