Secure Link Md5 with Primary and Secondary Secret

anish10dec nginx-forum at
Tue Jun 12 12:09:18 UTC 2018

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 that
partial user will be allowed with old secret and some with new secret for
meanwhile till secret is updated on all servers and client.

Something similar to below implementation

Regards & Thanks ,

Posted at Nginx Forum:,280125,280125#msg-280125

More information about the nginx mailing list