省略一万字…

1
2
3
4
5
localtion ~ .*\.(ttf|otf|eot|woff)$ {
add_header Access-Control-Allow-Origin *;
或指定域名
add_header Access-Control-Allow-Origin "http://www.example.com";
}