Webfonts with Nginx

Updated Tagged nginx webfonts

To serve your own webfonts from NginX they need to be served with the correct content-type. Add the following to mime.types file in the Nginx config directory:

application/x-font-ttf                ttf;
font/opentype                         otf;
application/vnd.ms-fontobject         eot;

and reload Nginx. Now they are served correctly instead of ‘application/octet-stream’.