call http request from location

Maxim Dounin mdounin at
Wed Jun 26 07:04:48 UTC 2013


On Wed, Jun 26, 2013 at 08:53:39AM +0200, asd wrote:

> Not sure. PHP not know mp4 video playing start.
> I can save time, filename, ip addr after called url by nginx.

Most obvious aproach would be to use a php script with 
X-Accel-Redirect to track playback start.

Alternatively, you may use auth request module[1], it should be 
slightly easier from configuration point of view. 


Maxim Dounin

More information about the nginx mailing list