Nginx MP4-pseudo-streaming + proxy_cache

Nginx MP4-pseudo-streaming + proxy_cache

I have a hard time getting Nginx’s MP4-module’s pseudo streaming to work with the proxy-cache-module.
I have following in my site configuration:
location ~* ^/stream/(\w+)/(\w+).mp4 {

mp4;
mp4_buffer_size 1m;
mp4_max_buffer_size 15m;

add_header X-Location “$1.$2”;

proxy_cache cache-key-1;… Read more