Firebird News

Thursday, September 22, 2011

fixing nginx 1.0.x and html5 video

Fixing nginx 1.0.x to make it serve video ogg correctly Open up the Nginx mime type configuration file, eg: /etc/nginx/mime.types Add these lines after the last video mime type
video/ogg                             ogm;
video/ogg                             ogv;
video/ogg                             ogg;
restart nginx
sudo /etc/init.d/nginx restart

No comments: