mime.types: svg
Антон Алехин
alekhin at amity.ru
Tue Aug 21 13:43:10 MSD 2007
Alexey Karagodov wrote:
> и конфег (с mime.types-ми используемыми)
> пробовали location для этих файлов делать с указанием (прямо к
> конфеге) mime типа ?
>
nginx.conf:
...
http {
include /usr/local/etc/nginx/mime.types;
default_type application/octet-stream;
...
mime.types:
types {
text/html html htm shtml;
text/css css;
text/xml xml rss;
image/gif gif;
image/svg+xml svg;
image/jpeg jpeg jpg;
application/x-javascript js;
text/plain txt;
text/x-component htc;
text/mathml mml;
image/png png;
image/x-icon ico;
image/x-jng jng;
image/vnd.wap.wbmp wbmp;
application/java-archive jar war ear;
application/mac-binhex40 hqx;
application/pdf pdf;
application/x-cocoa cco;
application/x-java-archive-diff jardiff;
application/x-java-jnlp-file jnlp;
application/x-makeself run;
application/x-perl pl pm;
application/x-pilot prc pdb;
application/x-rar-compressed rar;
application/x-redhat-package-manager rpm;
application/x-sea sea;
application/x-shockwave-flash swf;
application/x-stuffit sit;
application/x-tcl tcl tk;
application/x-x509-ca-cert der pem crt;
application/x-xpinstall xpi;
application/zip zip;
application/octet-stream deb;
application/octet-stream bin exe dll;
application/octet-stream dmg;
application/octet-stream eot;
application/octet-stream iso img;
application/octet-stream msi msp msm;
audio/mpeg mp3;
audio/x-realaudio ra;
video/mpeg mpeg mpg;
video/quicktime mov;
video/x-flv flv;
video/x-msvideo avi;
video/x-ms-wmv wmv;
video/x-ms-asf asx asf;
video/x-mng mng;
}
С уважением, Антон Алёхин.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ООО «Амити Инвестиционная Группа»
Россия, 109004, г. Москва
ул. Верхняя Радищевская, д. 18, стр. 2
Тел./факс: (495) 755-69-43
More information about the nginx-ru
mailing list