The myguard repository packages the most commonly used OpenResty Lua modules for use with libnginx-mod-http-lua (NGINX) or angie-module-http-lua (Angie). Install any module with apt-get install after adding the myguard repository.
Both NGINX and Angie (and their OpenSSL+quic library) are patched to support yielding operations in ssl_session_fetch_by_lua* and ssl_certificate_by_lua* — a requirement for advanced TLS scripting that the official packages don’t enable.
A complete list of available .deb files is at deb.myguard.nl/pool/main/l/lua-resty/.
Core packages
- luajit2 — OpenResty’s LuaJIT fork, required by all Lua modules
- lua-cjson — fast JSON encoding/decoding for Lua
- lua-resty — meta-package that installs all modules listed below
- lua-resty-core — FFI-based Lua API for ngx_http_lua_module and ngx_stream_lua_module
Networking and DNS
- lua-resty-dns — non-blocking DNS resolver for the Lua NGINX module
- lua-resty-http — Lua HTTP client using cosocket API
- lua-resty-websocket — WebSocket support for ngx_lua
Authentication and security
- lua-resty-jwt — JWT validation and generation for ngx_lua
- lua-resty-hmac — HMAC functions for ngx_lua and LuaJIT
- lua-resty-openidc — OpenID Connect and OAuth 2.0 library for NGINX
- lua-resty-session — secure, flexible session management for OpenResty
Data storage and caching
- lua-resty-redis — non-blocking Redis client using cosocket API
- lua-resty-memcached — Lua memcached client driver
- lua-resty-memcached-shdict — memcached client with shared-dict caching layer
- lua-resty-mysql — non-blocking Lua MySQL driver
- lua-resty-lrucache — Lua-land LRU cache backed by LuaJIT FFI
Traffic control and utilities
- lua-resty-limit-traffic — rate limiting and traffic control library
- lua-resty-lock — non-blocking shared-memory lock API
- lua-resty-balancer — consistent-hashing and round-robin load balancing
- lua-resty-upstream-healthcheck — active upstream health checking in pure Lua
String and system
- lua-resty-string — string utilities and hash functions (MD5, SHA1, base64)
- lua-resty-upload — streaming file upload parser
- lua-resty-signal — send signals to UNIX processes from Lua
- lua-resty-shdict-simple — simplified shared-dict API
- lua-resty-shell — non-blocking shell command execution
Further reading
- lua-resty-dns — non-blocking DNS resolver for the Lua NGINX module
- lua-resty-http — Lua HTTP client using cosocket API
- lua-resty-websocket — WebSocket support for ngx_lua
Authentication and security
- lua-resty-jwt — JWT validation and generation for ngx_lua
- lua-resty-hmac — HMAC functions for ngx_lua and LuaJIT
- lua-resty-openidc — OpenID Connect and OAuth 2.0 library for NGINX
- lua-resty-session — secure, flexible session management for OpenResty
Data storage and caching
- lua-resty-redis — non-blocking Redis client using cosocket API
- lua-resty-memcached — Lua memcached client driver
- lua-resty-memcached-shdict — memcached client with shared-dict caching layer
- lua-resty-mysql — non-blocking Lua MySQL driver
- lua-resty-lrucache — Lua-land LRU cache backed by LuaJIT FFI
Traffic control and utilities
- lua-resty-limit-traffic — rate limiting and traffic control library
- lua-resty-lock — non-blocking shared-memory lock API
- lua-resty-balancer — consistent-hashing and round-robin load balancing
- lua-resty-upstream-healthcheck — active upstream health checking in pure Lua
String and system
- lua-resty-string — string utilities and hash functions (MD5, SHA1, base64)
- lua-resty-upload — streaming file upload parser
- lua-resty-signal — send signals to UNIX processes from Lua
- lua-resty-shdict-simple — simplified shared-dict API
- lua-resty-shell — non-blocking shell command execution
Further reading
- lua-resty-redis — non-blocking Redis client using cosocket API
- lua-resty-memcached — Lua memcached client driver
- lua-resty-memcached-shdict — memcached client with shared-dict caching layer
- lua-resty-mysql — non-blocking Lua MySQL driver
- lua-resty-lrucache — Lua-land LRU cache backed by LuaJIT FFI
Traffic control and utilities
- lua-resty-limit-traffic — rate limiting and traffic control library
- lua-resty-lock — non-blocking shared-memory lock API
- lua-resty-balancer — consistent-hashing and round-robin load balancing
- lua-resty-upstream-healthcheck — active upstream health checking in pure Lua
String and system
- lua-resty-string — string utilities and hash functions (MD5, SHA1, base64)
- lua-resty-upload — streaming file upload parser
- lua-resty-signal — send signals to UNIX processes from Lua
- lua-resty-shdict-simple — simplified shared-dict API
- lua-resty-shell — non-blocking shell command execution
Further reading
- lua-resty-string — string utilities and hash functions (MD5, SHA1, base64)
- lua-resty-upload — streaming file upload parser
- lua-resty-signal — send signals to UNIX processes from Lua
- lua-resty-shdict-simple — simplified shared-dict API
- lua-resty-shell — non-blocking shell command execution