[nginx] Update mime-types

izorkin at gmail.com izorkin at gmail.com
Tue Feb 20 07:17:41 UTC 2024


Hello, J.

It is now generally recommended to use the mime types from the mailcap package.
At a minimum, it is used in the NixOS and ArchLinux OS distributives.
But in the mailcap package:
 - too many different mime types specified (nginx developers do not recommend
   using large lists of mime-types)
 - uses new type values for javascript and xml, which are not supported in
   nginx
 - instead of the recommended type image/x-icon, image/vnd.microsoft.icon
   is used - https://en.wikipedia.org/wiki/ICO_(file_format)#MIME_type
 - Those some meme-types are missing

I would like the developers to update the current mime list and add new
commonly used types.

Вы писали 20 февраля 2024 г., 4:54:23:

> Hello,

> It might be a good idea to provide a reason for each of these mime type
> changes, such as what real problem this solves for you or others.

> For example:

> +    audio/mpeg                                       mp1 mp2 mp3 m1a m2a mpa;

> Are you serving .mp1 and .mp2 files? I've never seen such a file in my
> life (nor many of the other extensions you've added in the series).

> Also it may be a good idea to link to past discussions you've had on
> the topic (regardless of language):

> https://mailman.nginx.org/pipermail/nginx-ru/2023-November/36Z6S37IZQQWYQXJGFKOMQXFL2XQUJM2.html
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> https://mailman.nginx.org/mailman/listinfo/nginx-devel


-- 
С уважением,
 Izorkin                          mailto:izorkin at gmail.com


More information about the nginx-devel mailing list