OpenResty® Scalable Web Platform by Extending NGINX with Lua

Components

Yichun Zhang (agentzh) , 17 Nov 2016 (created 21 Jun 2011)

Below lists all the components bundled in OpenResty. All of the components can be enabled or disabled on need.

Most of the components are enabled by default, some are not.

The standard Lua 5.1 interpreter, DrizzleNginxModule, PostgresNginxModule, and IconvNginxModule are not enabled by default. You need to specify the --with-lua51, --with-http_drizzle_module, --with-http_postgres_module, and --with-http_iconv_module options, respectively, to enable them while building OpenResty.

Before the 1.5.8.1 release, the standard Lua 5.1 interpreter is enabled by default while LuaJIT 2.x is not. So for earlier releases, you need to explicitly specify the --with-luajit option (which is the default for 1.5.8.1+) to use LuaJIT 2.x.

3rd-party OpenResty modules contributed by the community can be found on the opm.openresty.org package server. And they can also be installed and uninstalled easily with the opm command-line utility.