Lnmp安装目录下的tools文件夹中的防跨目录移除工具一键脚本
cd tools
./remove_disable_function.sh
location ~* \.(eot|ttf|woff|svg|otf)$ {
add_header Access-Control-Allow-Origin xxx.com(使用的网站);
add_header Access-Control-Allow-Headers X-Requested-With;
add_header Access-Control-Allow-Methods GET,POST,OPTIONS;
}