The NGINX Lua module
NGINX has the
nginx_lua module developed by Openresty.org that can be used to leverage Lua scripting. The module integrates Lua threads into the NGINX event model to enable asynchronous code execution. The module shares the loaded Lua libraries across all requests but segregates request contexts using Lua threads, thus resulting in a small memory footprint.
Openresty.org provides a complete web server package with an NGINX core,
nginx_lua, LuaJIT, and a host of NGINX modules that can be used to deploy applications.
This module is not enabled by default and needs to be built with NGINX. The module requires the Lua 5.1 version with the LuaJIT 2.0/ 2.1 interpreter. Download the latest version of the module from ...