Ruby's Louvre

每天学习一点点算法

导航

nginx 里设置font-face 跨域

server {
    ...
    # Fix @font-face cross-domain restriction in Firefox
	location ~* \.(eot|ttf|woff)$ {
	    add_header Access-Control-Allow-Origin *;
	}
    ...
}

原贴来自snipt.net

posted on 2014-02-12 22:25  司徒正美  阅读(1211)  评论(0编辑  收藏  举报