openresty/lua-nginx-module

Embed the Power of Lua into NGINX HTTP servers

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 3 minutes ago
Added to GitGenius on September 5th, 2026
Created on April 16th, 2010
Open Issues & Pull Requests: 395 (+0)
GitHub issues: Enabled
Number of forks: 2,053
Total Stargazers: 11,789 (+0)
Total Subscribers: 557 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 26.0 hours
Mean response time: 57.9 days
90th percentile: 141.6 days
Tracked items: 77

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 4% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 66
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 709 days
Stale 30+ days: 62
Stale 90+ days: 57

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

lua-nginx-module is a module that embeds Lua scripting into NGINX HTTP servers.

The module addresses the need to extend NGINX with dynamic logic by allowing Lua code to run within the NGINX request processing pipeline. It provides a full Nginx API for Lua, enabling developers to write request handlers, filters, and other HTTP processing logic directly in Lua rather than compiling C modules. The module is a core component of OpenResty and can be built as either a static or dynamic module alongside NGINX.

The tool suits projects that need to add application logic to NGINX without writing C code or running separate application servers. It works well for API gateways, request routing, authentication, rate limiting, and other HTTP middleware tasks where the overhead of external services is undesirable. Developers should be aware that the module is not distributed with standard NGINX and requires custom compilation. The README documents known limitations including restricted coroutine yielding in certain contexts, limited cosocket availability in some request phases, and incomplete support for SPDY mode.

The project maintains a comprehensive test suite and accepts bug reports and patches through its community channels. Development activity includes regular updates to address compatibility with evolving NGINX versions and Lua/LuaJIT improvements. The module supports LuaJIT bytecode compilation for startup performance optimization and allows statically linking pure Lua modules into the build.