mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
www-servers/lighttpd: Update mime types, #399401
Update with commonly used file types without the bloat from generation using entire /etc/mime.types source. Closes: https://bugs.gentoo.org/399401 Signed-off-by: Alan Swanson <reiver@improbability.net> Closes: https://github.com/gentoo/gentoo/pull/19507 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
committed by
Joonas Niilola
parent
c043fee3e6
commit
bd3fc91341
@@ -5,38 +5,117 @@
|
||||
|
||||
# {{{ mime types
|
||||
mimetype.assign = (
|
||||
".svg" => "image/svg+xml",
|
||||
".svgz" => "image/svg+xml",
|
||||
".pdf" => "application/pdf",
|
||||
".sig" => "application/pgp-signature",
|
||||
".epub" => "application/epub+zip",
|
||||
".spl" => "application/futuresplash",
|
||||
".class" => "application/octet-stream",
|
||||
".jar" => "application/java-archive",
|
||||
".class" => "application/java-vm",
|
||||
".jsonld" => "application/ld+json",
|
||||
".json" => "application/json",
|
||||
".mdb" => "application/msaccess",
|
||||
".doc" => "application/msword",
|
||||
".ogg" => "application/ogg",
|
||||
".pgp" => "application/pgp-encrypted",
|
||||
".sig" => "application/pgp-signature",
|
||||
".ps" => "application/postscript",
|
||||
".eps" => "application/postscript",
|
||||
".rar" => "applicaion/rar",
|
||||
".rdf" => "application/rdf+xml",
|
||||
".rss" => "application/rss+xml",
|
||||
".rtf" => "application/rtf",
|
||||
".azw" => "application/vnd.amazon.ebook",
|
||||
".cbz" => "application/vnd.comicbook+zip",
|
||||
".cbr" => "application/vnd.comicbook-rar",
|
||||
".exe" => "application/vnd.microsoft.portable-executable",
|
||||
".xls" => "application/vnd.ms-excel",
|
||||
".ppt" => "application/vnd.ms-powerpoint",
|
||||
".docm" => "application/vnd.ms-word.document.macroEnabled.12",
|
||||
".odt" => "application/vnd.oasis.opendocument.text",
|
||||
".ods" => "application/vnd.oasis.opendocument.spreadsheet",
|
||||
".odp" => "application/vnd.oasis.opendocument.presentation",
|
||||
".odg" => "application/vnd.oasis.opendocument.graphics",
|
||||
".odc" => "application/vnd.oasis.opendocument.chart",
|
||||
".odf" => "application/vnd.oasis.opendocument.formula",
|
||||
".odi" => "application/vnd.oasis.opendocument.image",
|
||||
".pptx" => "application/vnd.openxmlformats-officedocument.presentationml.presentation",
|
||||
".xlsx" => "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
||||
".docx" => "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
||||
".vsd" => "application/vnd.visio",
|
||||
".wasm" => "application/wasm",
|
||||
".xhtml" => "application/xhtml+xml",
|
||||
".zip" => "application/zip",
|
||||
".zstd" => "application/zstd",
|
||||
".7z" => "application/x-7z-compressed",
|
||||
".dmg" => "application/x-apple-diskimage",
|
||||
".torrent" => "application/x-bittorrent",
|
||||
".bz2" => "application/x-bzip",
|
||||
".tbz" => "application/x-bzip-compressed-tar",
|
||||
".tar.bz2" => "application/x-bzip-compressed-tar",
|
||||
".pgn" => "application/x-chess-pgn",
|
||||
".deb" => "application/x-debian-package",
|
||||
".dvi" => "application/x-dvi",
|
||||
".mm" => "application/x-freemind",
|
||||
".gz" => "application/x-gzip",
|
||||
".iso" => "application/x-iso9660-image",
|
||||
".jnlp" => "application/x-java-jnlp-file",
|
||||
".pac" => "application/x-ns-proxy-autoconfig",
|
||||
".rpm" => "application/x-redhat-package-manager",
|
||||
".swf" => "application/x-shockwave-flash",
|
||||
".tar.gz" => "application/x-tgz",
|
||||
".tgz" => "application/x-tgz",
|
||||
".tar" => "application/x-tar",
|
||||
".zip" => "application/zip",
|
||||
".dmg" => "application/x-apple-diskimage",
|
||||
".xz" => "application/x-xz",
|
||||
".aac" => "audio/aac",
|
||||
".adts" => "audio/aac",
|
||||
".ac3" => "audio/ac3",
|
||||
".snd" => "audio/basic",
|
||||
".mid" => "audio/midi",
|
||||
".midi" => "audio/midi",
|
||||
".m4a" => "audio/mp4",
|
||||
".mp1" => "audio/mpeg",
|
||||
".mp2" => "audio/mpeg",
|
||||
".mp3" => "audio/mpeg",
|
||||
".oga" => "audio/ogg",
|
||||
".opus" => "audio/ogg",
|
||||
".spx" => "audio/ogg",
|
||||
".sid" => "audio/prs.sid",
|
||||
".mlp" => "audio/vnd.dolby.mlp",
|
||||
".dts" => "audio/vnd.dts",
|
||||
".dtshd" => "audio/vnd.dts.hd",
|
||||
".flac" => "audio/x-flac",
|
||||
".mka" => "audio/x-matroska",
|
||||
".m3u" => "audio/x-mpegurl",
|
||||
".mod" => "audio/x-mod",
|
||||
".wma" => "audio/x-ms-wma",
|
||||
".wax" => "audio/x-ms-wax",
|
||||
".ogg" => "application/ogg",
|
||||
".wav" => "audio/x-wav",
|
||||
".otf" => "font/otf",
|
||||
".ttf" => "font/ttf",
|
||||
".woff" => "font/woff",
|
||||
".woff2" => "font/woff2",
|
||||
".bmp" => "image/bmp",
|
||||
".gif" => "image/gif",
|
||||
".heic" => "image/heic",
|
||||
".heics" => "image/heic-sequence",
|
||||
".heif" => "image/heif",
|
||||
".heifs" => "image/heif-sequence",
|
||||
".jpg" => "image/jpeg",
|
||||
".jpeg" => "image/jpeg",
|
||||
".png" => "image/png",
|
||||
".tif" => "image/tiff",
|
||||
".tiff" => "image/tiff",
|
||||
".svg" => "image/svg+xml",
|
||||
".svgz" => "image/svg+xml",
|
||||
".webp" => "image/webp",
|
||||
".psd" => "image/vnd.adobe.photoshop",
|
||||
".apng" => "image/vnd.mozilla.apng",
|
||||
".ico" => "image/x-icon",
|
||||
".xbm" => "image/x-xbitmap",
|
||||
".xpm" => "image/x-xpixmap",
|
||||
".xwd" => "image/x-xwindowdump",
|
||||
".ics" => "text/calendar",
|
||||
".css" => "text/css",
|
||||
".csv" => "text/csv",
|
||||
".html" => "text/html",
|
||||
".htm" => "text/html",
|
||||
".js" => "text/javascript",
|
||||
@@ -55,25 +134,37 @@ mimetype.assign = (
|
||||
".patch" => "text/plain",
|
||||
".ebuild" => "text/plain",
|
||||
".eclass" => "text/plain",
|
||||
".rtf" => "application/rtf",
|
||||
".bmp" => "image/bmp",
|
||||
".tif" => "image/tiff",
|
||||
".tiff" => "image/tiff",
|
||||
".ico" => "image/x-icon",
|
||||
".vcard" => "text/vcard",
|
||||
".vcf" => "text/vcard",
|
||||
".dtd" => "text/xml",
|
||||
".xml" => "text/xml",
|
||||
".vcs" => "text/x-vcalendar",
|
||||
".x3db" => "model/x3d+binary",
|
||||
".x3dbz" => "model/x3d+binary",
|
||||
".x3dv" => "model/x3d+vrml",
|
||||
".x3dvz" => "model/x3d+vrml",
|
||||
".x3d" => "model/x3d+xml",
|
||||
".x3dz" => "model/x3d+xml",
|
||||
".ts" => "video/mp2t",
|
||||
".m4v" => "video/mp4",
|
||||
".mp4" => "video/mp4",
|
||||
".mpeg" => "video/mpeg",
|
||||
".mpg" => "video/mpeg",
|
||||
".ogv" => "video/ogg",
|
||||
".mov" => "video/quicktime",
|
||||
".qt" => "video/quicktime",
|
||||
".webm" => "video/webm",
|
||||
".m4u" => "video/vnd.mpegurl",
|
||||
".bik" => "video/vnd.radgamettools.bink",
|
||||
".bk2" => "video/vnd.radgamettools.bink",
|
||||
".smk" => "video/vnd.radgamettools.smacker",
|
||||
".flv" => "video/x-flv",
|
||||
".mkv" => "video/x-matroska",
|
||||
".mk3d" => "video/x-matroska-3d",
|
||||
".mng" => "video/x-mng",
|
||||
".avi" => "video/x-msvideo",
|
||||
".asf" => "video/x-ms-asf",
|
||||
".asx" => "video/x-ms-asf",
|
||||
".wmv" => "video/x-ms-wmv",
|
||||
".bz2" => "application/x-bzip",
|
||||
".tbz" => "application/x-bzip-compressed-tar",
|
||||
".tar.bz2" => "application/x-bzip-compressed-tar"
|
||||
".wmv" => "video/x-ms-wmv"
|
||||
)
|
||||
# }}}
|
||||
|
||||
# vim: set ft=conf foldmethod=marker et :
|
||||
|
||||
Reference in New Issue
Block a user