阿里雲ECSドメイン横断問題


nginx.com nfプロファイルの設定
パスは:/usr/loca/nginx/conf/nginx.com nf構成項目は;
#      
add_header 'Access-Control-Allow-Origin' '*'; #    
#add_header 'Access-Control-Allow-Origin' 'http://dev.gongfuxiang.com'; #       
add_header 'Access-Control-Allow-Credentials' 'true';
add_header 'Access-Control-Allow-Methods' 'OPTION, POST, GET';
add_header 'Access-Control-Allow-Headers' 'X-Requested-With, Content-Type';