Re: Не стримится (seek) .mp4

kozakd nginx-forum at nginx.us
Tue Dec 17 11:43:59 UTC 2013


Добавлю, фрагменты конфига nginx


    sendfile            off;
    tcp_nopush          on;
    tcp_nodelay         on;
    aio                 on;
    directio            1m;
    directio_alignment  4k;
    output_buffers  1   2m;
    keepalive_timeout  0;

    client_header_timeout       20;
    client_body_timeout         20;
    send_timeout                20s;
    resolver_timeout             0;
    reset_timedout_connection on;
    proxy_buffering off;

    open_file_cache          max=16000  inactive=20m;
    open_file_cache_valid    120m;
    open_file_cache_min_uses 2;
    open_file_cache_errors   on;


В самом хосте...
location ~ \.mp4 {
            mp4;
            root /farm-video;
}

Posted at Nginx Forum: http://forum.nginx.org/read.php?21,245481,245603#msg-245603



Подробная информация о списке рассылки nginx-ru