title: Nginx MP4-pseudo-streaming + proxy_cache
body: <p>I have a hard time getting Nginx's MP4-module's pseudo streaming to work with the proxy-cache-module.</p>
  
  <p>I have following in my site configuration:</p>
  
  <pre><code>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;
      proxy_cache_valid       200     1d;
      proxy_cache_key         $2;
      proxy_pass              http://$1.servers.com/storage/$2.mp4;
      break;
  }
  </code></pre>
  
  <p>Does pseudo streaming and proxying work together at all?</p>
  
  <p>Thanks</p>