Hello!
On Mon, May 26, 2014 at 6:10 AM, hugh wrote:
> Yes, i saw that, but it does not explain where to set the keys in Lua only
> in nginx.conf. i suppose it could put them there, but it feels ugly.
>
Sadly ngx_encrypted_session does not support setting the key and IV
via nginx variables (that way you can set their values from within
Lua).
I'd like this module to expose a Lua API, just like ngx_lua_upstream:
https://github.com/openresty/lua-upstream-nginx-module#readme
BTW, "iv" is "initialization vector":
http://en.wikipedia.org/wiki/Initialization_vector
Regards,
-agentzh