Welcome! Log In Create A New Profile

Advanced

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

Otto Kekäläinen
January 02, 2017 09:08AM
Hello!

I noticed the default mime.types in Nginx does not include some very
common assets, like ttf font files:
https://github.com/nginx/nginx/blob/master/conf/mime.types

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

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


A fairly extensive and well tested list combiled by multiple people
with HB5P authority can be viewed at:
https://github.com/h5bp/server-configs-nginx/blob/master/mime.types

I'd recommend adopting the full listing above to fix the font issues
and probably many other issues in one go.
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

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

Otto Kekäläinen 679 January 02, 2017 09:08AM

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

Maxim Dounin 339 January 02, 2017 06:50PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 302
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready