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 <djcza...@gmail.com> 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

Reply via email to