http { ###start### add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Headers X-Requested-With; add_header Access-Control-Allow-Methods GET,POST,OPTIONS; ###end ### }
Nginx配置跨域支持功能
原文:https://www.cnblogs.com/wjoyxt/p/10406601.html