阿里雲ECS跨域問題

設置 nginx.conf 配置文件 路徑爲:/usr/loca/nginx/conf/nginx.conf 配置項爲;nginx #容許跨域訪問 add_header 'Access-Control-Allow-Origin' '*'; #不限域名 #add_header 'Access-Control-Allow-Origin' 'http://dev.gongfuxiang.com'; #限
相關文章
相關標籤/搜索