JWT for ngx_lua and LuaJIT.
$ luarocks install lua-resty-jwt-48606
This library requires an nginx build with OpenSSL, the ngx_lua module, the LuaJIT 2.0, the lua-resty-hmac, and the lua-resty-string, and replace hmac with 48606
root