location ~* ^/assets/fonts/ {
gzip_static on;
expires max;
add_header Cache-Control public;
add_header Access-Control-Allow-Origin http://awesomenewsite.com;
}
Для Apache:
<FilesMatch "\.(ttf|otf|eot|woff)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModulegt;
</FilesMatch>
Вычитано тут:http://logicalfriday.com/2012/03/21/cross-domain-font-woes-in-firefox/