Welcome! Log In Create A New Profile

Advanced

Re: video stream and secure link

July 02, 2012 05:56AM
you can copy this location & paste beneath with flv instead of mp4

On Mon, Jul 2, 2012 at 2:02 PM, aryut <nginx-forum@nginx.us> wrote:

> hi,
>
> i want to use mp4 module and secure link module together.
>
> this is my conf;
> location /videos/ {
> secure_link $arg_st,$arg_e;
> secure_link_md5 ssss$remote_addr$uri$arg_e;
> if ($secure_link = "") {
> return 403;
> }
>
> if ($secure_link = "0") {
> return 403;
> }
>
> mp4;
>
> }
> it works with this config but when i change mp4; with
> location ~ \.mp4$ {
> mp4;
> }
> secure link doesn't works. streaming an seeking working well.
>
> i need to add this line because i want to stream flv files too.
>
> wat is the true way ? thanks.
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,228161,228161#msg-228161
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

video stream and secure link

aryut July 02, 2012 05:02AM

Re: video stream and secure link

shahzaib1232 July 02, 2012 05:56AM

Re: video stream and secure link

aryut July 02, 2012 10:25AM

Re: video stream and secure link

Valentin V. Bartenev July 02, 2012 11:44AM

Re: video stream and secure link

JoakimR April 01, 2016 09:18AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 281
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