Skip to content

Lua

NGINX Lua Module is a high-level Lua API for Nginx. It allows scripting Nginx without touching the C code.

NGINX Extras by GetPageSpeed = NGINX Plus + OpenResty + Lua libraries

GetPageSpeed provides both Lua NGINX modules and Lua libraries to extend NGINX with Lua scripting capabilities.

Multiple Lua library packages are made available by GetPageSpeed to build ultimate Nginx configurations, powered by Lua.

Package Name Description
lua-resty-auto-ssl On the fly (and free) SSL registration and renewal inside nginx-module-lua/nginx with Let's Encrypt
lua-resty-balancer A generic consistent hash implementation for nginx-module-lua
lua-resty-checkups Manage NGINX upstreams in pure Lua
lua-resty-core New FFI-based API for lua-nginx-module
lua-resty-dns DNS resolver for nginx-module-lua
lua-resty-http Lua HTTP client cosocket driver for nginx-module-lua
lua-resty-iputils Utility functions for working with IP addresses in nginx-module-lua
lua-resty-jit-uuid Fast and dependency-free UUID library for LuaJIT/nginx-module-lua
lua-resty-jwt JWT For The Great nginx-module-lua
lua-resty-kafka Lua kafka client driver for nginx-module-lua based on the cosocket API
lua-resty-limit-traffic Lua library for limiting and controlling traffic in nginx-module-lua
lua-resty-lock Simple nonblocking lock API for nginx-module-lua based on shared memory dictionaries
lua-resty-logger-socket Raw-socket-based Logger Library for NGINX (based on nginx-module-lua)
lua-resty-lrucache Lua-land LRU Cache based on LuaJIT FFI
lua-resty-memcached Lua memcached client driver for nginx-module-lua based on the cosocket API
lua-resty-mlcache Layered caching library for nginx-module-lua
lua-resty-mysql Nonblocking Lua MySQL driver library for nginx-module-lua
lua-resty-openidc OpenID Connect Relying Party and OAuth 2.0 Resource Server implementation in Lua for NGINX / nginx-module-lua
lua-resty-radixtree Adaptive Radix Trees implemented in Lua / LuaJIT
lua-resty-redis-connector Connection utilities for lua-resty-redis
lua-resty-redis Lua redis client driver for nginx-module-lua based on the cosocket API
lua-resty-rsa RSA encrypt/decrypt & sign/verify for nginx-module-luaJIT
lua-resty-session Session library for nginx-module-lua – flexible and secure
lua-resty-string String utilities and common hash functions for nginx-module-lua and LuaJIT
lua-resty-template Templating Engine (HTML) for Lua and nginx-module-lua
lua-resty-upload Streaming reader and parser for http file uploading based on nginx-module-lua cosocket
lua-resty-upstream-healthcheck Health Checker for NGINX Upstream Servers in Pure Lua
lua-resty-waf High-performance WAF built on nginx-module-lua stack
lua-resty-websocket WebSocket support for nginx-module-lua module
lua-resty-worker-events Cross Worker Events for NGINX in Pure Lua