Welcome! Log In Create A New Profile

Advanced

changing secure_link_secret

Posted by Danomi Czaski 
Danomi Czaski
changing secure_link_secret
June 26, 2018 04:30PM
I would like to create a secure link and be able to easily change the
secret as desired.

Short of rewriting the config file and restarting nginx, is there an
easy way to do this? Ideally I'd like nginx to read the secret from a
file.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Robert Paprocki
Re: changing secure_link_secret
June 26, 2018 05:00PM
You could either write a custom nginx module to read your file/env variable and provide it as an nginx variable, or you could use Lua/OpenResty to read/write the secret value (the latter is safer but more expensive)

Sent from my iPhone

> On Jun 26, 2018, at 07:25, Danomi Czaski <[email protected]> wrote:
>
> I would like to create a secure link and be able to easily change the
> secret as desired.
>
> Short of rewriting the config file and restarting nginx, is there an
> easy way to do this? Ideally I'd like nginx to read the secret from a
> file.
> _______________________________________________
> 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
Sorry, only registered users may post in this forum.

Click here to login