nginx配置 解决ajax请求跨域问题
摘要:文章来源:http://to-u.xyz/2016/06/30/nginx-cors/ 背景描述 最近在研究RESTful API接口设计,使用的是Nginx,要实现本地http://127.0.0.1跨域访问服务器端http://api.zlzkj.com,并且要支持DELETE PUT等请求。
阅读全文
posted @ 2017-12-06 14:29