call http request from location

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


Hello!

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. 

[1] http://mdounin.ru/hg/ngx_http_auth_request_module

-- 
Maxim Dounin
http://nginx.org/en/donation.html



More information about the nginx mailing list