location / {
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Headers "Origin, X-Requested-With, Content-Type, Accept";
add_header Access-Control-Allow-Methods "GET, POST, OPTIONS";
}
上一篇:mysql临时表的使用
下一篇:nginx反向代理错误upstream sent too big header的解决办法