Hey Leute, ich versuche gerade Font Awesome bei Wordpress einzubinden, die Fonts werden auf einem meiner Server gehostet, aber ich sehe dummerweise nur diese rechteckigen Kästchen, statt der Icons, ... ich befürchte es liegt an nginx.
Wenn wer irgend einen Tipp hat, wie ich nginx dazu bewege, fonts bereit zu stellen, wäre das phänomenal, ...
mime.types schaut mittlerweile so aus:
Code
application/x-font-ttf ttc ttf;
application/x-font-otf otf;
application/font-woff woff;
application/x-font-woff woff;
application/font-woff2 woff2;
application/vnd.ms-fontobject eot;
die vhost config enthält ebenfalls:
Code
location ~ \.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$ {
add_header Access-Control-Allow-Origin "*";
}
Würd mich über jeden Vorschlag freuen