mp4 streaming + X-Accel-Redirect works on dev, fails on prod

Fernando Perez lists at
Tue Aug 24 21:07:17 MSD 2010


How come my Rails app that relies on Nginx to stream mp4 videos to flash
and restricts access with X-Accel-Redirect, works on my dev machine but
fails on the production server?

The config files are 99% the same: dev machine uses mongrel, prod
machine uses passenger.

On the first request I see in my nginx and rails log a request to

Then when I scrub, on my dev machine I see requests to
video.mp4?start=12, etc. But nothing on my production server, the video
restarts from the beginning.

Any idea? I'm sure it's a stupid thing I'm missing here.
Posted via

More information about the nginx mailing list