On Tue, Jun 12, 2018 at 08:09:18AM -0400, anish10dec wrote:
Hi there,
> There is requirement for token authentication using two secret key i.e
> primary and secondary secret for location block.
If this is the same scenario as in
https://forum.nginx.org/read.php?2,275668 and in
https://forum.ngin
Current Configuration
secure_link $arg_token,$arg_expiry;
secure_link_md5 "secret$arg_expiry";
if ($secure_link = "") {return 405;}
if ($secure_link = "0"){return 410;}
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,280125,280126#msg-280126
___
There is requirement for token authentication using two secret key i.e
primary and secondary secret for location block.
If token with first secret gives 405, then to generate the token with second
secret to allow the request.
This is required for changing the Secret Key in production on server so