[PATCH] Recognize image/avif in mime.types

Artur Juraszek artur at juraszek.xyz
Sun Oct 10 19:43:16 UTC 2021


# HG changeset patch
# User Artur Juraszek <artur at juraszek.xyz>
# Date 1633893497 -7200
#      Sun Oct 10 21:18:17 2021 +0200
# Node ID d62a7ff2ec94678392024b875bbadac149a0feaf
# Parent  ae7c767aa491fa55d3168dfc028a22f43ac8cf89
Recognize image/avif in mime.types

It's an officially registered[1] image format that's now supported by most major web browsers.

[1] https://www.iana.org/assignments/media-types/media-types.xhtml

diff -r ae7c767aa491 -r d62a7ff2ec94 conf/mime.types
--- a/conf/mime.types	Wed Oct 06 18:01:42 2021 +0300
+++ b/conf/mime.types	Sun Oct 10 21:18:17 2021 +0200
@@ -15,6 +15,7 @@
     text/vnd.wap.wml                                 wml;
     text/x-component                                 htc;
 
+    image/avif                                       avif;
     image/png                                        png;
     image/svg+xml                                    svg svgz;
     image/tiff                                       tif tiff;



More information about the nginx-devel mailing list