[PATCH] conf/mime.types: add image/jxl internet media type

Leo Izen leo.izen at gmail.com
Mon Aug 12 12:47:34 UTC 2024


# HG changeset patch
# User Leo Izen <leo.izen at gmail.com>
# Date 1723466276 14400
#      Mon Aug 12 08:37:56 2024 -0400
# Node ID 351f249fca852fd701285299b2d5d43c7e911fd2
# Parent  b5550a7f16c795f394f9d1ac87132dd2b7ef0e41
conf/mime.types: add image/jxl internet media type

image/jxl for JPEG XL images is an officially reocgnized
internet media type[1] by the IANA, and browser support
is starting to exist (e.g. safari on macOS and iOS, plus
Firefox behind a nightly flag, etc.) so servers should be
able to serve .jxl images out of the box.

[1]: https://www.iana.org/assignments/media-types/image/jxl
[2]: https://web.archive.org/web/20240306204210/
       https://www.iana.org/assignments/media-types/image/jxl

diff -r b5550a7f16c7 -r 351f249fca85 conf/mime.types
--- a/conf/mime.types	Fri Aug 09 19:12:26 2024 +0400
+++ b/conf/mime.types	Mon Aug 12 08:37:56 2024 -0400
@@ -16,6 +16,7 @@
     text/x-component                                 htc;
 
     image/avif                                       avif;
+    image/jxl                                        jxl;
     image/png                                        png;
     image/svg+xml                                    svg svgz;
     image/tiff                                       tif tiff;


More information about the nginx-devel mailing list