Add mime-type `image/avif` and `image/avifs`
This commit is contained in:
parent
18f129051b
commit
a9aea7038c
|
@ -9,6 +9,6 @@
|
||||||
# something like `*.css?v231`, please see:
|
# something like `*.css?v231`, please see:
|
||||||
# https://www.stevesouders.com/blog/2008/08/23/revving-filenames-dont-use-querystring/
|
# https://www.stevesouders.com/blog/2008/08/23/revving-filenames-dont-use-querystring/
|
||||||
|
|
||||||
location ~* (.+)\.(?:\w+)\.(bmp|css|cur|gif|ico|jpe?g|m?js|png|svgz?|webp|webmanifest)$ {
|
location ~* (.+)\.(?:\w+)\.(avifs?|bmp|css|cur|gif|ico|jpe?g|m?js|a?png|svgz?|webp|webmanifest)$ {
|
||||||
try_files $uri $1.$2;
|
try_files $uri $1.$2;
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,6 +39,8 @@ types {
|
||||||
audio/x-realaudio ra;
|
audio/x-realaudio ra;
|
||||||
audio/x-wav wav;
|
audio/x-wav wav;
|
||||||
audio/x-matroska mka;
|
audio/x-matroska mka;
|
||||||
|
image/avif avif;
|
||||||
|
image/avif-sequence avifs;
|
||||||
image/bmp bmp;
|
image/bmp bmp;
|
||||||
image/gif gif;
|
image/gif gif;
|
||||||
image/jpeg jpeg jpg;
|
image/jpeg jpeg jpg;
|
||||||
|
|
Loading…
Reference in New Issue