]> Sergey Matveev's repositories - dotfiles.git/blobdiff - lighttpd/mime-img.conf
More MIME types and their separation
[dotfiles.git] / lighttpd / mime-img.conf
diff --git a/lighttpd/mime-img.conf b/lighttpd/mime-img.conf
new file mode 100644 (file)
index 0000000..0df01e3
--- /dev/null
@@ -0,0 +1,23 @@
+mimetype.assign += (
+       ".apng" => "image/vnd.mozilla.apng",
+       ".avif" => "image/avif",
+       ".gif" => "image/gif",
+       ".heic" => "image/heic",
+       ".jp2" => "image/jp2",
+       ".jpeg" => "image/jpeg",
+       ".jpg" => "image/jpeg",
+       ".jxl" => "image/jxl",
+       ".mng" => "video/x-mng",
+       ".pam" => "image/x-portable-arbitrarymap",
+       ".pbm" => "image/x-portable-bitmap",
+       ".pfm" => "image/x-portable-floatmap",
+       ".pgm" => "image/x-portable-graymap",
+       ".png" => "image/png",
+       ".pnm" => "image/x-portable-anymap",
+       ".ppm" => "image/x-portable-pixmap",
+       ".svg" => "image/svg+xml",
+       ".tif" => "image/tiff",
+       ".tiff" => "image/tiff",
+       ".webp" => "image/webp",
+       ".xpm" => "image/x-xpixmap",
+)