location ~* \.(eot|otf|ttf|woff|svg)$ { add_header Access-Control-Allow-Origin *; }
參考:https://segmentfault.com/q/1010000002426121segmentfault