nginx 这里使用的是 openresty, 在 Mac 平台上使用 brew 进行安装 brew tap openresty/brew/openresty && brew install openresty。 本实例使用到第三方的类库均放置在 /usr/local/opt/openresty/lualib/resty 目录下。 https://github.com/SkyLothar/lua-resty-jwt/tree/master/lib/resty https://github.com/jkeys089/lua-resty-hmac https://github.com/openresty/lua-resty-mysql https://github.com/cloudflare/lua-resty-cookie https://github.com/moonbingbing/openresty-best-practices