nginx with mod-h264 help??

Big on Hosting. Unlimited Space & Unlimited Bandwidth

I am stumped on how to get this working.

I think I have nginx compiled to run with this.

Here is what I get from the command line:

nginx -V
nginx version: nginx/0.8.54
built by gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
configure arguments: –add-module=/root/nginx_mod_h264_streaming-2.2.7 –sbin-path=/usr/local/sbin –with-debug

However when I try to insert:
location ~ \.mp4$ {

I get the following: nginx: [emerg] unknown directive “mp4” in /usr/local/nginx/conf/nginx.conf

From a desktop browser (including IE, Firefox, Chrome) I can run the mp4 file without issue. If I try to run the same mp4 from an iPhone safari browser, it will not run.

Any guidance would be a huge help. I have been all over Google and tried various things but still cannot to get this to work.

This entry passed through the Full-Text RSS service — if this is your content and you’re reading it on someone else’s site, please read the FAQ at


You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply