Francis Daly
September 13, 2017 05:40PM
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 could "rewrite ^ /ex/$uri;" and then
have a new location{} that matches those requests and uses the secondary
secret key in its config.

(Or you could rewrite the module to do what you want; but that is probably
much more work.)

Good luck with it,

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Secure Link Md5 Implementation

anish10dec July 26, 2017 12:12PM

Re: Secure Link Md5 Implementation

c0nw0nk July 26, 2017 02:06PM

Re: Secure Link Md5 Implementation

anish10dec July 27, 2017 02:34AM

Re: Secure Link Md5 Implementation

c0nw0nk July 27, 2017 05:39AM

Re: Secure Link Md5 Implementation

anish10dec July 27, 2017 07:50AM

Re: Secure Link Md5 Implementation

anish10dec September 13, 2017 08:05AM

Re: Secure Link Md5 Implementation

Francis Daly September 13, 2017 05:40PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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