Nginx指定多个域名跨域配置1.Nginx配置域名跨域单个域名2.Nginx配置域名跨域多个域名
1.Nginx配置域名跨域单个域名location /live{ ... add_header 'Access-Control-Allow-Origin' 'http://domain:port' always; add_header 'Access-Control-Allow-Credentials' 'true'; # 为预检请求加的header add_header 'Access-Control-Allow-Met