Include typical font files like ttf in the default mime.types

Otto Kekäläinen otto at
Mon Jan 2 14:06:15 UTC 2017


I noticed the default mime.types in Nginx does not include some very
common assets, like ttf font files:

I suggest the mime.types should be extended to include at least these:

    application/x-font-ttf                ttf;
    application/           otf;

A fairly extensive and well tested list combiled by multiple people
with HB5P authority can be viewed at:

I'd recommend adopting the full listing above to fix the font issues
and probably many other issues in one go.

More information about the nginx-devel mailing list