配置 Nginx 跨域訪問html
進入 nginx 的 html 目錄,新建 crossdomain.xml,具體路徑: /usr/local/nginx/html/crossdomain.xmlnginx
在 crossdomain.xml 中添加相似以下內容:跨域
注意:默認狀況下,/usr/local/nginx/html/crossdomain.xml 是不存在的。dom