Add JPEG XL `image/jxl` MIME type (#274)
This commit is contained in:
parent
db79ae491f
commit
b9ef881d62
|
@ -9,6 +9,6 @@
|
|||
# something like `*.css?v231`, please see:
|
||||
# https://www.stevesouders.com/blog/2008/08/23/revving-filenames-dont-use-querystring/
|
||||
|
||||
location ~* (.+)\.(?:\w+)\.(avifs?|bmp|css|cur|gif|ico|jpe?g|m?js|a?png|svgz?|webp|webmanifest)$ {
|
||||
location ~* (.+)\.(?:\w+)\.(avifs?|bmp|css|cur|gif|ico|jpe?g|jxl|m?js|a?png|svgz?|webp|webmanifest)$ {
|
||||
try_files $uri $1.$2;
|
||||
}
|
||||
|
|
|
@ -45,6 +45,7 @@ types {
|
|||
image/bmp bmp;
|
||||
image/gif gif;
|
||||
image/jpeg jpeg jpg;
|
||||
image/jxl jxl;
|
||||
image/jxr jxr hdp wdp;
|
||||
image/png png;
|
||||
image/svg+xml svg svgz;
|
||||
|
|
Loading…
Reference in New Issue