MP4 Content-Type Header

Justin Dorfman jdorfman at netdna.com
Wed May 30 21:55:50 UTC 2012


Perfect! Thanks Ales. =)

Regards,

Justin Dorfman <http://www.twitter.com/jdorfman>

NetDNA <http://www.netdna.com>™
The Science of Acceleration™



On Wed, May 30, 2012 at 2:47 PM, Ales Zoulek <ales.zoulek at gmail.com> wrote:

> Hey,
>
> check your's /etc/nginx/mime.types file. And add the following line if
> missing in the types block:
> video/mp4 mp4;
>
>
> Ales
>
> ------------------------------------------------------
> Ales Zoulek
> +420 604 332 515
> Jabber: ales.zoulek at gmail.com
> ------------------------------------------------------
>
>
> On Wed, May 30, 2012 at 11:45 PM, Justin Dorfman <jdorfman at netdna.com>wrote:
>
>> Hello All,
>>
>>
>> I am noticing when I run curl on a MP4 file I get the application/octet-stream content type:
>>
>>
>> curl -I http://192.168.3.117/videofile.mp4
>>
>> HTTP/1.1 200 OK
>> Content-Type: application/octet-stream
>>
>>
>> Is there a reason why it wouldn't be "video/mp4"?
>>
>> A few users have said "it is causing issues in players". (vague I know)
>>
>>
>> Here is the vhost: https://gist.github.com/4b4e6e8ce2506d35b168 (very long to paste in here IMO, if I am breaking a rule I am sorry, I will paste it in the email from now on)
>>
>>
>> nginx version: nginx/1.2.0
>>
>> configure arguments: --with-http_stub_status_module --with-http_ssl_module --with-http_secure_link_module --add-module=/home/justin/ngx_cache_purge-1.5 --add-module=/home/justin/ngx_mp4_module-0.9.4 --add-module=/home/justin/ngx_flv_module-0.9
>>
>>
>> Thanks in advance!
>>
>>  Regards,
>>
>> Justin Dorfman <http://www.twitter.com/jdorfman>
>>
>> NetDNA <http://www.netdna.com>™
>> The Science of Acceleration™
>>
>>
>> _______________________________________________
>> nginx mailing list
>> nginx at nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120530/67439431/attachment-0001.html>


More information about the nginx mailing list