add_header 'Access-Control-Allow-Origin' 'data.test.com';
add_header 'Access-Control-Allow-Methods' 'PUT,POST,GET,DELETE,OPTIONS';
add_header 'Access-Control-Allow-Headers' 'Content-Type,Content-Length, Authorization, Accept,X-Requested-With';
add_header 'X-Powered-By' ' 3.2.1';
并reload
本文轉自Tenderrain 51CTO部落格,原文連結:http://blog.51cto.com/tenderrain/2068245,如需轉載請自行聯系原作者