https://coderwall.com/p/wprykg/cors-with-nginx-for-401-404-501-and-any-other-http-status
nginx默认不会给HTTP Code非200的请求上加'Access-Control-Allow-Origin' * 之类的header头
需要在后面增加always标识符
https://coderwall.com/p/wprykg/cors-with-nginx-for-401-404-501-and-any-other-http-status
nginx默认不会给HTTP Code非200的请求上加'Access-Control-Allow-Origin' * 之类的header头
需要在后面增加always标识符
本文标题:nginx 处理HTTP CODE非200的跨域请求
本文链接:https://www.haomeiwen.com/subject/mwaqcctx.html
网友评论