awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
openresty avatar

openresty/lua-nginx-module

0
View on GitHub↗
11,764 Stars·2,049 Forks·C·3 Aufrufeopenresty.org↗

Lua Nginx Module

This project is an NGINX module that embeds the Lua scripting language directly into the server environment. It functions as a request processor and response filter, enabling the execution of scripts to handle HTTP requests, generate dynamic content, and manage server behavior without external application calls.

The module provides a shared memory dictionary and cache manager, allowing data to be stored and retrieved across all active worker processes. This capability supports the collection of high-performance server metrics and the synchronization of information across concurrent processes.

The system covers a broad range of programmable server extensions, including custom HTTP middleware, dynamic request routing, and programmable access control for validating client identity. It also includes tools for intercepting and transforming response bodies and headers, modifying request URIs during the rewrite phase, and executing initialization code during server startup.

Features

  • Embedded Scripting Engines - Integrates a Lua scripting engine directly into the NGINX server to handle requests and generate dynamic content.
  • Shared Memory Configuration Stores - Provides a shared memory dictionary for synchronizing state and configuration across all active worker processes.
  • Request Path Rewriters - Provides the ability to programmatically modify request URIs and implement dynamic redirects during the server rewrite phase.
  • Lifecycle Request Handlers - Executes lifecycle-specific request handlers to rewrite URIs and control access during the NGINX request flow.
  • Server Extensions - Embeds the Lua scripting language directly into NGINX to process HTTP requests and generate responses.
  • Non-Blocking Suspension Points - Implements non-blocking suspension points using coroutines to handle I/O operations without stalling the main server thread.
  • Just-In-Time Compilers - Embeds a just-in-time compiler to execute scripts with near-native performance directly within the server process.
  • Scriptable Access Controls - Implements programmable access control that validates client identity and request metadata via Lua scripts to permit or block traffic.
  • Request Lifecycle Phases - Executes scripts at specific lifecycle points to manage rewrites, access control, and response generation.
  • Custom Middleware Implementations - Implements custom middleware to intercept request-response cycles for header transformation and custom server behavior.
  • Shared Memory Management - Manages shared memory segments to synchronize state and session data across concurrent worker processes.
  • HTTP Request Handling - Processes incoming HTTP requests and generates responses using embedded Lua scripts.
  • Request Routing - Enables dynamic request routing and URI modification using Lua scripts to implement complex dispatch logic.
  • Response Body Modifiers - Programmatically alters or transforms HTTP response bodies before they are transmitted to the client.
  • C Function Bindings - Provides a foreign function interface to map native C functions to Lua methods for direct server internal access.
  • Identity-Based Access Control - Provides programmable access control to validate client identity and metadata before traffic reaches the backend.
  • Request Context Management - Maintains a per-request memory context to pass data and state across different execution phases.
  • Server Metrics - Collects high-performance server metrics and custom request data using shared memory dictionaries.
  • Request Logging - Captures custom request details and metrics during the logging phase for system observability.
  • HTTP Response Filters - Intercepts and transforms HTTP response bodies and headers using programmable scripts.
  • Response Header Modifiers - Provides utilities for dynamically updating HTTP response headers using Lua scripts before the response is sent to the client.
  • Embedded Web Frameworks - Allows running Lua scripts within the server for custom request handling and dynamic content generation.
  • Server Initialization Hooks - Executes custom setup code and initializes shared memory through hooks that run when the server starts.
  • Scripting Language Integration - Embeds the Lua scripting language into Nginx.
  • Web Frameworks - Embeds Lua into Nginx to create a full-featured web server.

Star-Verlauf

Star-Verlauf für openresty/lua-nginx-moduleStar-Verlauf für openresty/lua-nginx-module

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Häufig gestellte Fragen

Was macht openresty/lua-nginx-module?

This project is an NGINX module that embeds the Lua scripting language directly into the server environment. It functions as a request processor and response filter, enabling the execution of scripts to handle HTTP requests, generate dynamic content, and manage server behavior without external application calls.

Was sind die Hauptfunktionen von openresty/lua-nginx-module?

Die Hauptfunktionen von openresty/lua-nginx-module sind: Embedded Scripting Engines, Shared Memory Configuration Stores, Request Path Rewriters, Lifecycle Request Handlers, Server Extensions, Non-Blocking Suspension Points, Just-In-Time Compilers, Scriptable Access Controls.

Welche Open-Source-Alternativen gibt es zu openresty/lua-nginx-module?

Open-Source-Alternativen zu openresty/lua-nginx-module sind unter anderem: dodyg/practical-aspnetcore — This project is a comprehensive sample library and implementation guide for ASP.NET Core. It provides a collection of… revel/revel — Revel is a full-stack web framework and toolkit for building applications with the Go language. It implements a… go-martini/martini — Martini is a web framework for the Go programming language that provides a toolkit for building web applications. It… lukeed/polka — Polka is a minimalist Node.js web framework and HTTP routing engine. It provides a small-footprint server… nanohttpd/nanohttpd — NanoHTTPD is a lightweight, embeddable HTTP server for Java applications. It allows developers to integrate web server… ninenines/cowboy — Cowboy is a high-performance HTTP server for Erlang and OTP. It is designed to handle web traffic with low memory…

Open-Source-Alternativen zu Lua Nginx Module

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Lua Nginx Module.
  • dodyg/practical-aspnetcoreAvatar von dodyg

    dodyg/practical-aspnetcore

    10,382Auf GitHub ansehen↗

    This project is a comprehensive sample library and implementation guide for ASP.NET Core. It provides a collection of practical examples and projects that demonstrate how to build web applications, RESTful APIs, and high-performance services. The repository focuses on a variety of architectural patterns, including the development of Minimal APIs, contract-first gRPC services, and real-time communication using WebSockets and Server-Sent Events. It includes detailed implementations for user identity and security, such as token-based authentication and CSRF protection. The codebase covers a bro

    C#asp-net-coreaspnet-coreaspnetcore
    Auf GitHub ansehen↗10,382
  • revel/revelAvatar von revel

    revel/revel

    13,224Auf GitHub ansehen↗

    Revel is a full-stack web framework and toolkit for building applications with the Go language. It implements a model-view-controller architecture to separate business logic from user interface rendering, providing a comprehensive system for routing, parameter binding, and session management. The project distinguishes itself with a high-productivity development environment featuring automatic code compilation and hot-reloading, which refreshes the application state and templates upon file changes without requiring manual restarts. It also employs reflection-based parameter binding to automati

    Go
    Auf GitHub ansehen↗13,224
  • go-martini/martiniAvatar von go-martini

    go-martini/martini

    11,603Auf GitHub ansehen↗

    Martini is a web framework for the Go programming language that provides a toolkit for building web applications. It functions as a routing engine and an HTTP middleware pipeline to map network requests to specific handler functions. The framework is distinguished by its dependency injection system, which automatically resolves and provides requested service types as arguments to handler functions. This allows for the decoupling of business logic from infrastructure by matching requested types against a registry of available services. The project covers a broad range of web capabilities, inc

    Go
    Auf GitHub ansehen↗11,603
  • lukeed/polkaAvatar von lukeed

    lukeed/polka

    5,585Auf GitHub ansehen↗

    Polka is a minimalist Node.js web framework and HTTP routing engine. It provides a small-footprint server implementation designed for low overhead, mapping URL paths and HTTP methods to specific handler functions. The project utilizes a middleware-based architecture, processing requests through a sequence of functions to handle tasks such as logging, authorization, and data modification. It allows for the organization of these functions into global and path-filtered groups to control execution order. The framework covers core web capabilities including route parameter extraction, request URL

    JavaScript
    Auf GitHub ansehen↗5,585
  • Alle 30 Alternativen zu Lua Nginx Module anzeigen→