Welcome! Log In Create A New Profile

Advanced

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

Fernando Perez
August 24, 2010 01:12PM
Hi,

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
video.mp4?start=0

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 http://www.ruby-forum.com/.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

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

Fernando Perez August 24, 2010 01:12PM

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

Fernando Perez August 24, 2010 04:12PM

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

Fernando Perez August 25, 2010 01:18PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 307
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready