On Wed, Sep 13, 2017 at 08:05:14AM -0400, anish10dec wrote:
Hi there,
> How to use two secret Keys for Secure Link Md5.
the stock nginx secure_link module does not support multiple/alternate keys.
I have not tested, but I guess that maybe in your primary 'if
($secure_link = "") {' section you c
Any Update Please
How to use two secret Keys for Secure Link Md5.
Primary to be used by application which is in production and secondary for
application build which has been rolled out with changed secret key i.e.
secondary.
So that application should work in both scenario meanwhile till the all
Thanks
But what about the next part when actually we are in production and if there
is need for change of secret Key on Nginx.
" Is there a way to implement the token authentication with two secret key
i.e primary and secondary
So that If the first one did not work, then try the second one.
Th
Like i said before
c0nw0nk Wrote:
---
> Update your web application for example (PHP) first then how ever many
> hours later when all caches for your web application have cleared
> restart your Nginx so it only accepts secure links.
Update your
For validating all the m3u8 , below is the configuration
location ~.*.m3u8 {
secure_link $arg_token,$arg_expires;
secure_link_md5 "appsecret$uri$arg_expires";
if ($secure_link = "") {return 403;}
if ($secure_link = "0"){return 410;}
proxy_pass http://appserver:80;
}
What I need is the way
Update your web application for example (PHP) first then how ever many hours
later when all caches for your web application have cleared restart your
Nginx so it only accepts secure links.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,275668,275669#msg-275669
Trying to implement the secure link md5 token check .
Is there a way to verify secure link i.e. to generate token using secret
key and verify the token. If it matches it should allow the request .
And also to allow the request for token which doesn't matches so that while
rolling out the update