Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mod_h264 and proxy_cache
- To: nginx-ru@xxxxxxxxx
- Subject: mod_h264 and proxy_cache
- From: Fedya Mosalov <fedya.mosalov@xxxxxxxxx>
- Date: Mon, 1 Nov 2010 15:25:17 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=psebyOvEb9++lHv5hANxhdxolT5WPmmifso+JyIawTw=; b=POh4RvzuX21lA8bnyoIzvHwdgGXvl66DrajDDyhYj62QgalkzTzv0xfORpEIwRDHKv yMADEDBnNI+23WRo741WKD5sb0WoFJ25TV1fN86pmH7xk+0/hAN2OCd1zkJhqKOqK2y0 1rba8qBelpR9qWNO7AH1YYYVw+dH+heU5xByI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=fLAEQjydMOBEZa4CaKlgU96pFtSgApRUuDpOAa/RlqrIq7xFBtAznzfX9d0CsYqBHI 7fM6VssCVP5oLXOWq+6uX71hlzLL1sBu7h/GDSqVHbK3zBf3VgC5CS5wTXuGPbMSvxre CdUIa7QOFbEJ222A2HyUhGhdDAost3dFdyUO0=
Здравствуйте.
Попробовал вот такую конфигурацию с модулем mod_h264:
location /mp4 {
proxy_pass http://somewhere/mp4;
proxy_cache mp4-cache;
proxy_cache_valid 200 302 60m;
proxy_cache_valid 404 1m;
mp4;
}
Однако, несмотря на proxy_pass в error_log:
2010/10/12 08:18:07 [error] 30328#0: *1 open()
"/usr/local/nginx/html/mp4/somethink.mp4" failed (2: No such file or
directory), client: x.x.x.x.x, server: localhost, request: "GET
/mp4/somethink.mp4 HTTP/1.0", host: "x.x.x.x.x"
Вопрос: есть ли способ совместить псевдо-стриминг mod_h264 (думаю, что
аналогично и с mod_flv) с кешированием?
--
Fedya Mosalov
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|