Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: стриминг видео на nginx сервере
24.02.2012 19:30, zeromind пишет:
location ~*
^.+\.(html|htm|flv|jpg|jpeg|gif|png|ico|css|zip|tgz|gz|rar|bz2|doc|xls|exe|pdf|ppt|txt|tar|wav|bmp|rtf|js|docx|odt|7z|avi|mpeg|mpg|mp4|mp3|ogg|mov)$
{
root /home/zeromind/www;
}
location ~ \.mp4$ {
mp4;
mp4_buffer_size 1m;
mp4_max_buffer_size 10m;
}
location ~ \.flv$ {
flv;
}
Ниче, что htm|flv|jpg и mpg|mp4|mp3?
--
WBR, Andrey Vasilishin CDIG1-UANIC, CDIG1-RIPE
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|