NGINX APT repository for Debian & Ubuntu
NGINX modules for Debian and Ubuntu: current mainline NGINX and up to 114 module packages you install with apt. No compiling. Hardened builds of NGINX (and Angie) with HTTP/3 (QUIC), kTLS, Brotli, Zstandard, ModSecurity v3 and Lua/NJS, rebuilt soon after each upstream release.
This is the canonical index of NGINX modules for Debian and Ubuntu in the deb.myguard.nl NGINX APT repository, covering the NGINX and Angie packages. It is a hardened mainline build with HTTP/3 (QUIC), kTLS, Brotli, Zstandard, ModSecurity v3, Lua/NJS scripting and over a hundred dynamic modules, packaged for Docker, WordPress, Magento and OpenCart workloads. Rebuilds usually run within a few hours of an upstream nginx release; if no patch conflicts trip the pipeline, the new .deb and Docker image are published automatically.
Builds track Debian upstream closely and are backported to older releases. Most of the optional modules are included because you asked for them. If a module you need is missing, open an issue and it usually ends up in the next build.
The software is provided as-is, without commercial support, but build bugs get fixed and questions answered when time allows.
What is NGINX?
NGINX (pronounced “engine-x”) is a free, open-source web server, reverse proxy, load balancer and HTTP cache. Igor Sysoev wrote it to solve the C10K problem, which means serving ten thousand concurrent connections from one machine. He published the first public release on 4 October 2004.
Apache’s classic prefork model used one process per connection. NGINX instead runs a few worker processes, and each one drives thousands of connections through a non-blocking event loop (epoll on Linux). Memory use stays flat under load, which is why NGINX became the default front end for busy sites.
A typical NGINX server serves static files and terminates TLS, HTTP/2 and HTTP/3. It also proxies requests to PHP-FPM, Node.js, Python or Go back ends, balances load across upstream servers, caches responses and forwards raw TCP/UDP streams.
NGINX is released under the 2-clause BSD licence. F5 bought NGINX, Inc. in 2019 and moved development to GitHub in 2024. The open-source core is still free; the commercial NGINX Plus adds features on top.
There are two branches. Mainline (odd minor version, such as 1.31) gets new features and fixes first. Stable (even minor version, such as 1.30) gets only critical fixes. This repository ships mainline.
How popular is NGINX?
NGINX is one of the two most-used web servers on the internet, and the most widely deployed web server you can install and run yourself. The exact ranking depends on what a survey counts:
- W3Techs (November 2026): NGINX runs 29.7% of websites whose web server is known. That is ahead of Apache (20.4%) and LiteSpeed (13.2%), and second only to Cloudflare Server (34.7%), which overtook NGINX in 2026. Cloudflare Server is Cloudflare’s CDN edge, not software you can install.
- Netcraft (July 2026): NGINX is first across all sites with 20.4%, ahead of Cloudflare (16.7%) and Apache (11.5%). It also runs on 43.9% of web-facing computers, more than any other web server.
- Netcraft counts OpenResty, a distribution built on the NGINX core, separately (8.0% of sites in July 2026). Angie and freenginx are further forks of the same code base, so the NGINX family is larger than any single figure shows.
NGINX is at or near the top of every survey, well ahead of Apache httpd. That popularity is why its module ecosystem is so large, and why a packaged, kept-current build is worth having.
Why an APT repository for NGINX modules?
Debian and Ubuntu ship an older stable NGINX: 1.22 on Debian 12, 1.26 on Debian 13 and 1.24 on Ubuntu 24.04 LTS. Debian 13 packages around 30 dynamic modules.
Once you need a newer release, or a module outside that set (Zstandard, PageSpeed, Coraza, JA3/JA4 TLS fingerprinting), the stock advice is to recompile NGINX from source. That means matching the exact upstream version, re-applying your build flags, and rebuilding by hand after every security release. Miss one and you are running an unpatched web server; automate it badly and a botched apt upgrade can take the site down.
This repository removes that work. Every module is packaged as a proper .deb: apt install nginx for the base, then add only the libnginx-mod-* packages you actually use. Upgrades flow through normal apt like any other package, signed and versioned, with the dynamic modules ABI-matched to the NGINX core they load into. No build host, no source tree, no patch fuzz to chase.
The builds go further than “NGINX plus a module”. Mainline NGINX (and the Angie fork) is compiled against OpenSSL for HTTP/3 (QUIC) and kTLS, with hardened build flags and up to 114 module packages. The repository also ships its own library packages and carries a patch series on top. NGINX and its modules are rebuilt within hours of each upstream release and mirrored to daily Docker images.
On this page
- What is NGINX?
- How popular is NGINX?
- Why an APT repository for NGINX modules?
- How to install
- Build features
- Dynamic modules (full list)
- Standalone libraries
- Custom scripts
- Applied patches
- FAQ
- See also
How to install NGINX modules for Debian and Ubuntu
Debian deprecated the meta-packages nginx-light, nginx-core, nginx-extras and nginx-full. The supported installation pattern is now: install nginx, then add each dynamic module you need.
apt-get install nginx
apt-get install libnginx-mod-http-fancyindex libnginx-mod-http-brotli libnginx-mod-http-zstd
Repository setup, signing keys, and per-distribution suite names are covered on How to Add the myguard APT Repository. Containerised builds live in Angie and NGINX Docker Images; a good general-purpose tag is eilandert/nginx:deb-php8.5.
The module count depends on the release and the architecture. Trixie and Resolute get 114 module packages on amd64 and 112 on arm64. Bookworm, Jammy and Noble get 112 on amd64 and 110 on arm64, because the Coraza WAF and OpenTelemetry modules are built only for Trixie and Resolute.
On arm64, every release leaves out the PageSpeed and Perl modules. Bullseye and Focal are frozen at NGINX 1.29.2 on amd64 and get no further updates. The forky suite (Debian testing) still holds an older NGINX 1.31.2 build, so use Trixie for production.

If you want the smallest possible footprint, install the nginx-minimal build instead. It is a lean build for proxying, caching and FastCGI that leaves out a dozen default static modules, such as SSI, SCGI, uWSGI, gRPC and memcached. It still loads any of the dynamic modules below, which makes it a good fit for a slim WordPress reverse-proxy container.
Build features
- Latest mainline NGINX, packaged for Debian and Ubuntu.
- Vendor branding stripped from the server signature.
- Hardened default
nginx.confand asnippets/tree with bot/security/hardening/proxy examples. - Linked against OpenSSL-NGINX for full TLS 1.3, HTTP/3 (QUIC), kTLS and a web-server-tuned OpenSSL build.
- Includes the Cloudflare Optimizing TLS over TCP patch for lower handshake latency.
- SSL defaults tuned for A+ on SSL Labs.
- kTLS ready: load the
tlskernel module and addssl_conf_command Options KTLS;in thehttp { }block. - Built with AIO and threads (better throughput on ZFS and other high-latency filesystems).
- Linked against zlib-ng (native mode) for faster gzip.
- Compiled with
-O2 -finline-functionsand_FORTIFY_SOURCE=3, plus-fstack-clash-protection,-fno-pltand control-flow protection (-fcf-protection=fullon amd64,-mbranch-protection=standardon arm64), on top of the Debian hardening flags. LTO is deliberately disabled (-fno-lto) for stable symbol resolution against the prebuilt OpenSSL libraries. - TCP Fast Open support: enable it in the kernel with
sysctl -w net.ipv4.tcp_fastopen=3, then addfastopen=256to thelistendirective. - PageSpeed ships with a separately built PSOL (Page Speed Optimisation Library). There is one PSOL build for all Debian and Ubuntu releases.
- Daily-rebuilt Docker images on Docker Hub.
- The OWASP ModSecurity Core Rule Set is repackaged on its own weekly schedule.
- A bundle of useful lua-resty modules, repackaged on its own monthly schedule.
- NGINX and OpenSSL patched to allow yielding in
ssl_session_fetch_by_lua*andssl_certificate_by_lua*.
Extra NGINX modules built from git (dynamic)
Every entry below links to its synopsis page on this site, which in turn links to the upstream source the module is built from. The internal modules that ship with the NGINX source tree (image-filter, perl, geoip, xslt-filter, mail, stream, stream-geoip) are packaged too, as libnginx-mod-* packages, but they are not listed here because they live in nginx/nginx itself. If an entry looks wrong or out of date, file a bug.
- libnginx-mod-http-shield – bounded request filter that matches compiled exploit forms in request targets, selected headers and body prefixes; detect or block mode, off by default.
- libnginx-mod-http-autocert – Automatic TLS certificates for NGINX — built into the server.
- libnginx-mod-http-ndk – Nginx Development Kit module.
- libnginx-mod-http-access-control – fine-grained access control rules beyond allow/deny.
- libnginx-mod-http-access-plus – limit access by HTTP method and client address.
- libnginx-mod-http-array-var – array-typed variables for use with rewrite/lua.
- libnginx-mod-http-auth-hmac – HMAC-signed URL authentication.
- libnginx-mod-http-auth-internal – internal authentication helper for protected locations.
- libnginx-mod-http-auth-jwt – JWT validation and claims-based authorisation.
- libnginx-mod-http-auth-ldap – LDAP authentication module for nginx.
- libnginx-mod-http-auth-pam – PAM authentication module.
- libnginx-mod-http-auth-spnego – SPNEGO/Kerberos auth support.
- libnginx-mod-http-auth-totp – Time-based one-time password (TOTP) authentication for Nginx
- libnginx-mod-http-aws-auth – AWS request signing (SigV4) and authorisation helpers for nginx.
- libnginx-mod-http-bot-verifier – verifies declared bots (Googlebot etc.) by reverse-DNS.
- libnginx-mod-http-brotli – nginx module for Brotli compression.
- libnginx-mod-http-cache-dechunk-filter – filter chunked upstream responses before cache storage.
- libnginx-mod-http-cache-purge – purge content from nginx caches.
- libnginx-mod-http-captcha – generate and validate captcha challenges.
- libnginx-mod-http-cgi – Brings CGI support to Nginx and
- libnginx-mod-http-combined-upstreams – The module introduces three directives add_upstream,
- libnginx-mod-http-compression-normalize – normalise compression handling across upstream responses.
- libnginx-mod-http-compression-vary – improve Vary header handling for compressed content.
- libnginx-mod-http-concat – concatenate files (typically CSS and JS) in a given context.
- libnginx-mod-http-cookie-flag – add or rewrite cookie flags such as Secure, HttpOnly and SameSite.
- libnginx-mod-http-cookies-filter – inspect and filter request cookies before they reach the upstream.
- libnginx-mod-http-cors – Cross-Origin Resource Sharing helpers for nginx.
- libnginx-mod-http-dav-ext – the WebDAV commands missing from the core
davmodule. - libnginx-mod-http-doh – serve DNS-over-HTTPS (DoH) requests.
- libnginx-mod-http-dynamic-etag – generate ETag headers for dynamic responses.
- libnginx-mod-http-dynamic-limit-req – dynamically lock IPs and release them periodically.
- libnginx-mod-http-dynamic-upstream – runtime upstream management via HTTP API.
- libnginx-mod-http-early-hints – experimental module sending HTTP 103 early hints.
- libnginx-mod-http-echo – bring echo and other shell-style goodies to nginx.
- libnginx-mod-http-encrypted-session – encrypt and decrypt nginx variable values.
- libnginx-mod-http-enhanced-memc – extended memcached module: stores custom HTTP headers with the body, hashes keys longer than 250 characters, and writes to memcached over HTTP.
- libnginx-mod-http-error-abuse – temporarily blocks clients that generate too many HTTP errors (fail2ban-style
429for403/404/5xxstorms), enforced in-process with an exact sliding window, shared-memory counters, optional disk persistence and optional Redis/Valkey cluster-wide bans. - libnginx-mod-http-error-log-write – write custom entries into the nginx error log from config.
- libnginx-mod-http-eval – evaluate memcached or proxy responses into a variable.
- libnginx-mod-http-extra-variables – additional built-in variables for logging and routing.
- libnginx-mod-http-fancyindex – fancy directory index module.
- libnginx-mod-http-flv-live – like RTMP, with HTTP-FLV, GOP cache, VHost and JSON stats.
- libnginx-mod-http-footer-filter – append content to response bodies.
- libnginx-mod-http-form-input – read
application/x-www-form-urlencodedPOST data into variables. - libnginx-mod-http-geoip2 – GeoIP2 HTTP module.
- libnginx-mod-http-headers-more-filter – set and clear input and output headers.
- libnginx-mod-http-hmac-secure-link – HMAC secure link module.
- libnginx-mod-http-iconv – on-the-fly character encoding conversion of responses.
- libnginx-mod-http-internal-redirect – issue internal redirects from config.
- libnginx-mod-http-js-challenge – JavaScript proof-of-work access challenge (Cloudflare-style anti-DDoS).
- libnginx-mod-http-keyval – nginx-keyval is a key-value store dynamic module for nginx.
- libnginx-mod-http-length-hiding-filter – append a random string to the end of an HTML response.
- libnginx-mod-http-let – assign expressions to variables with arithmetic and string ops.
- libnginx-mod-http-limit-traffic-rate – apply per-request traffic shaping and throttling.
- libnginx-mod-http-log-var-set – set variables specifically for use in access logs.
- libnginx-mod-http-loop-detect – detect proxy loops before they become outages.
- libnginx-mod-http-lua – embed Lua into nginx (OpenResty).
- libnginx-mod-http-lua-upstream – Lua scripting hooks into the upstream subsystem.
- libnginx-mod-http-memc – extended memcached protocol module for direct memcached access (OpenResty).
- libnginx-mod-http-modsecurity – connector for libmodsecurity3.
- libnginx-mod-http-naxsi – Naxsi open-source web application firewall.
- libnginx-mod-http-proxy-var-set – set variables on proxied requests.
- libnginx-mod-http-push-stream – HTTP push-stream server and real-time pub/sub support.
- libnginx-mod-http-postgres – direct PostgreSQL upstream backend.
- libnginx-mod-http-redis2 – upstream module for the Redis 2.0 protocol.
- libnginx-mod-http-rewrite-status-filter – rewrite upstream response status codes.
- libnginx-mod-http-security-headers – module for sending security headers.
- libnginx-mod-http-server-redirect – server-block-level redirect helper.
- libnginx-mod-http-set-misc – various
set_xxxdirectives (md5/sha1, SQL/JSON quoting, and more). - libnginx-mod-http-slowfs-cache – slow-filesystem caching layer for static assets.
- libnginx-mod-http-sorted-querystring – normalize query-string order for cache-key stability.
- libnginx-mod-http-statsd – emit nginx metrics to a StatsD collector.
- libnginx-mod-http-srcache-filter – transparent subrequest-based caching for arbitrary nginx locations.
- libnginx-mod-http-strip-filter – response-body minifier for HTML, CSS, JavaScript, JSON, SVG and XML; conservative by default, with byte-level transforms as an explicit opt-in.
- libnginx-mod-http-subs-filter – substitution filter module.
- libnginx-mod-http-sysguard – protect nginx against high system load, memory pressure or slow requests.
- libnginx-mod-http-testcookie-access – simple robot mitigation using cookie-based challenge/response.
- libnginx-mod-http-trim-filter – trim unnecessary whitespace and comments from HTML.
- libnginx-mod-http-ts – MPEG-TS streaming module.
- libnginx-mod-http-upload – resumable file upload handler.
- libnginx-mod-http-unbrotli – transparently decompress Brotli-encoded upstream responses.
- libnginx-mod-http-unzstd – transparently decompress zstd-encoded upstream responses.
- libnginx-mod-http-uploadprogress – upload progress system for nginx.
- libnginx-mod-http-upstream-cache-vars – expose upstream cache state as variables.
- libnginx-mod-http-upstream-fair – fair upstream proxy load balancer.
- libnginx-mod-http-upstream-log – detailed access-log-style logging for upstream request handling.
- libnginx-mod-http-user-agent – match browsers and crawlers.
- libnginx-mod-http-var – declare custom variables (with expressions, defaults and conditionals) in nginx config.
- libnginx-mod-http-vhost-traffic-status – per-vhost traffic status information.
- libnginx-mod-http-vod – video-on-demand packaging (HLS, DASH, MSS) on the fly.
- libnginx-mod-stream-sts – stream-context traffic status monitoring.
- libnginx-mod-http-waf – handy, high-performance nginx firewall module (ngx_waf).
- libnginx-mod-http-xss-filter – native cross-site scripting protection helpers for responses (OpenResty).
- libnginx-mod-http-zip – stream ZIP archives assembled from upstream files.
- libnginx-mod-http-zstd – adds Zstandard (zstd) compression.
- libnginx-mod-ssl-ct – the global hook half of the Certificate Transparency module (loaded once alongside the per-protocol
http-ssl-ctandstream-ssl-ctmodules). - libnginx-mod-ssl-fingerprint – A high performance nginx module for ja4, ja3, and http2 fingerprint. Write-up →
- libnginx-mod-ipscrub – IP address anonymiser module for nginx.
- libnginx-mod-nchan – fast, flexible pub/sub server.
- libnginx-mod-njs – NGINX JavaScript — built against QuickJS-NG instead of njs’s native interpreter, so the language surface is full ES2023 (real
async/await,BigInt,Proxy, ES modules, modern regex,Intl) forjs_set/js_content/js_periodicscripting. - libnginx-mod-stream-lua – embed Lua into the nginx stream module (OpenResty).
- libnginx-mod-http-pagespeed – ngx_pagespeed speeds up your site and reduces page load time by automatically
- libnginx-mod-http-coraza – Coraza WAF for nginx — a Go-powered, drop-in replacement for
http-modsecuritythat speaks the same SecLang rules and OWASP CRS, embedded as a dynamic module vialibcoraza. Write-up → - libnginx-mod-http-otel – OpenTelemetry (OTel) is an observability framework for monitoring, tracing, troubleshooting, and optimizing applications.
- libnginx-mod-http-cache-turbo – Built-in full-page micro-cache for nginx — Varnish-style page caching without Varnish, served from shared memory. Must be the last dynamic module loaded. Write-up →
- libnginx-mod-rtmp – RTMP support (alternative: libnginx-mod-http-flv-live).
- http-tunnel (core built-in) – the upstream nginx Tunnel HTTP module (
ngx_http_tunnel_module, new in nginx 1.31.2, inherited by Angie) — proxiesCONNECT-style TCP tunnels through the HTTP layer viatunnel_pass, with full upstream load-balancing and failover. Compiled in by default; no separate package to install.
Standalone libraries provided
Libraries built alongside the modules. Most ship as their own packages: libmodsecurity3, libcoraza1, modsecurity-crs, libjemalloc2, libz-ng2, libssl-nginx and the lua-resty packages. PSOL, libinjection and quickjs-ng are linked into a module at build time. None of them loads as an NGINX module.
- libmodsecurity3 – v3 library component used by the nginx connector.
- libcoraza – C/Go WAF engine linked by libnginx-mod-http-coraza; runs SecLang/OWASP CRS rules as a ModSecurity v3 replacement.
- modsecurity-crs – OWASP ModSecurity Core Rule Set.
- libjemalloc2 – jemalloc allocator, built specifically for NGINX (use the one from this repo).
- libz-ng2 – next-generation zlib data-compression library (native mode).
- lua-resty – bundle of the most-used Lua modules for libnginx-mod-http-lua.
- lua-resty-core – FFI-based Lua API for ngx_http_lua_module / ngx_stream_lua_module (OpenResty).
- lua-resty-lrucache – Lua-land LRU cache based on the LuaJIT FFI (OpenResty).
- openssl-nginx – dedicated OpenSSL build tuned for nginx (kTLS, QUIC, leaner crypto defaults), packaged as
libssl-nginx. - PSOL – Page Speed Optimisation Library for ngx_pagespeed, one build shared by every Debian and Ubuntu release.
- libinjection – SQL injection and XSS detection library, linked into the http-waf module’s pattern-matching engine.
- quickjs-ng – maintained fork of the QuickJS JavaScript engine, staged at build time so the njs module links against it instead of njs’s older bundled interpreter.
Custom scripts
reorder-modules.sh– prioritises certain nginx modules in the right load order, with Docker support.cloudflare.sh– fetch Cloudflare IP ranges for inclusion in a vhost usingCF-Connecting-IP.
Applied patches
The complete patch series applied to every nginx build on this repository, in the exact order the Debian packaging applies them (debian/patches/series):
0002-Make-sure-signature-stays-the-same-in-all-nginx-buil.patch– keeps theServer:response header andnginx -voutput identical across the whole package matrix, so client fingerprints don’t drift between distros or rebuilds.nginx-fix-pidfile.patch– restores the correct/run/nginx.pidhandling for systemd-supervised installs, preventing the post-reload PID-file race that ships in mainline.1.30.0-zlib-ng.patch– teaches nginx’s gzip filter about zlib-ng in native mode, so the package links against the faster compressor without breaking ABI for callers expecting classic zlib.nginx_hpack.patch– carries the well-known Cloudflare HPACK encoding patch, shrinking HTTP/2 response headers (Cookie / Set-Cookie heavy workloads see the biggest win).nginx_dynamic_tls_records.patch– enables the Cloudflare dynamic TLS record sizing logic so the first byte of TLS payload arrives in a single packet, cutting time-to-first-byte over the wire.nginx-ssl_cert_cb_yield.patch– lets Lua handlers yield (cosocket calls, sleeps, redis lookups…) from insidessl_certificate_by_lua*andssl_session_fetch_by_lua*callbacks; required for any non-trivial dynamic-certificate setup.ssl-ktls-recv-eio-quiet.patch– with kTLS receive offload, the kernel reports a peer abort asEIOinstead ofECONNRESET; this treats it as a normal disconnect, so the error log no longer fills with false[alert]/[crit]lines.myguard-branding.patch– final branding sweep: replaces vendor strings and tweaks the default error pages so packaged installs identify asnginxonly, notnginx (Debian)ornginx (Ubuntu).ssl-fingerprint.patch– Captures the raw ClientHello in nginx core and exposes thefp_*fields onngx_ssl_connection_sthat thelibnginx-mod-ssl-fingerprintmodule reads to compute JA3/JA4. Inert unless that module is built. Directive reference →ssl-cert-compression.patch– TLS certificate compression (RFC 8879) with algorithm selection. Adds thessl_certificate_compression_algorithmsdirective (http/stream/mail) to restrict and reorder which algorithms are offered, on top of the upstream on/offssl_certificate_compressionswitch. Directive reference →http-smuggling.patch– adds thestrict_smuggling on|off;directive (default off). When on, it rejects bare-LF line endings, chunk extensions, malformed chunk sizes and chunked trailers on client requests, closing the remaining HTTP/1.1 request-smuggling gaps.max-dynamic-modules.patch– raises the dynamic-module limit from 128 to 256, so enabling a large subset of the modules on this page no longer aborts with “too many modules loaded”.
Frequently asked questions
What is NGINX used for?
NGINX is an open-source web server, reverse proxy, load balancer and HTTP cache. It serves static files, terminates TLS, HTTP/2 and HTTP/3, proxies requests to application servers such as PHP-FPM, Node.js, Python and Go, and can forward raw TCP and UDP streams. Its event-driven design handles thousands of concurrent connections per worker process with little memory.
Is NGINX the most popular web server?
It is one of the two most-used web servers. W3Techs (November 2026) puts NGINX on 29.7% of websites, second only to Cloudflare’s CDN edge (34.7%) and ahead of Apache (20.4%). Netcraft (July 2026) ranks NGINX first across all sites (20.4%) and on web-facing computers (43.9%). Among web servers you can install yourself, NGINX is the most widely deployed.
Which Debian and Ubuntu releases are supported?
Current builds (NGINX 1.31.x) are published for Debian bookworm (12) and trixie (13), and for Ubuntu jammy (22.04), noble (24.04) and resolute (26.04), on amd64 and arm64. Each release gets its own build of NGINX, Angie, the dynamic modules and the standalone libraries, with daily-rebuilt Docker images on Docker Hub. Bullseye and focal are frozen on NGINX 1.29.2 and no longer receive updates.
What is the difference between nginx and Angie on this repo?
Angie is a drop-in-compatible NGINX fork created in 2022 by former NGINX core developers (Web Server LLC), released under a BSD licence and actively maintained. The deb.myguard.nl Angie packages share the hardening flags, most of the patches and nearly all of the dynamic modules, packaged as angie-module-*. Switching mostly means installing the Angie packages and moving your configuration from /etc/nginx to /etc/angie.
How do I enable HTTP/3 (QUIC)?
HTTP/3 is compiled in via the OpenSSL-NGINX build, so it is just configuration: add listen 443 quic reuseport; alongside the normal listen 443 ssl; and advertise it with add_header Alt-Svc 'h3=":443"; ma=86400';. See the HTTP/3 on NGINX guide linked under See also for a complete vhost.
How do I turn on kTLS?
Load the kernel TLS module with modprobe tls (and persist it via /etc/modules-load.d/), then add ssl_conf_command Options KTLS; inside your http { } block. nginx will offload the symmetric crypto to the kernel and you will see fewer userspace copies in perf top.
Can I install just the modules I need without nginx-extras?
Yes. That is the whole point of the per-module packaging. apt install nginx gives you the base; then add only libnginx-mod-http-brotli, libnginx-mod-http-modsecurity, or whatever else you want. The nginx-minimal package goes further by stripping non-essential static modules from the base build for the leanest possible footprint.
How often are the packages rebuilt?
Within a few hours of every upstream nginx release. If no patches conflict, the new .deb and Docker image are uploaded automatically. The OWASP Core Rule Set is repackaged weekly and the lua-resty bundle monthly, each on its own schedule.
Is there commercial support?
No. The packages are provided as-is; build bugs get fixed and questions are answered when time allows. If you have a serious production need (custom modules, SLA, retainer, on-call), reach out via the contact form and we can talk. For everyone else: mirror the repo into your own apt cache and pin a known-good version.
Where do I report a bug or request a module?
Open an issue on the relevant GitHub repository under the eilandert or myguard-labs accounts, or leave a comment on this site. Most of the optional modules in the list above exist because a reader asked for them.
Related deep-dives
Most of the modules and patches above have a dedicated explainer post on this site: install walk-throughs, internals, benchmarks and history. Read them for context before tuning a production stack.
Compression
- What is zstd? History, browser support and nginx or Angie setup: what zstd is, where it came from, and which browsers actually accept it.
- zstd vs Brotli vs zlib-ng: choosing compression for nginx: encodings vs engines, CPU trade-offs, browser support and production configs.
- NGINX Brotli Compression: Install, Configure and Pre-Compress Static Assets: the install and tuning guide for
libnginx-mod-http-brotli. - zstd-nginx-module: the bugs we fixed, and the ones we caused: the upstream bugs in
libnginx-mod-http-zstdand our fork’s fixes.
TLS, HTTP/3 and OpenSSL
- openssl-nginx: a dedicated OpenSSL build for nginx and Angie: the OpenSSL build these packages link against.
- OpenSSL 4.0 for NGINX: Upgrading openssl-nginx from 3.x to 4.0: what changes when we ship OpenSSL 4.
- nginx TLS configuration for an SSL Labs A+: what the grade checks: ciphers, HSTS, OCSP and the full A+ recipe.
- How to enable HTTP/3 and QUIC on nginx for Debian and Ubuntu: the QUIC + Alt-Svc walkthrough.
- Post-quantum TLS on nginx and Angie: turning on X25519MLKEM768 with these builds.
Security, WAF and hardening
- How to install ModSecurity and OWASP CRS on NGINX (Debian and Ubuntu): the install guide for
libnginx-mod-http-modsecurity+ CRS. - nginx ModSecurity setup on Debian and Ubuntu with OWASP CRS: the deeper ModSecurity + tuning guide.
- WordPress Hardening Plugin for ModSecurity CRS: the WP-side companion to
libnginx-mod-http-modsecurity. - What Is the BREACH Attack? How It Works and How to Stop It: the compression side-channel and how to mitigate it on these builds.
- NGINX rate limiting: bursts, 429 responses and WordPress:
limit_reqand the dynamic-limit-req module in practice.
Scripting (Lua and NJS)
- nginx Lua module: install, load order and examples: what
libnginx-mod-http-luaunlocks, with working examples. - NGINX NJS: Write JavaScript Inside Your Web Server:
libnginx-mod-http-njsin depth, with NJS vs Lua trade-offs. - OpenResty Lua Modules for NGINX and Angie: the bundled
lua-resty-*packages that ship alongside.
Performance, benchmarks and operations
- nginx and Angie: a performance and security guide for WordPress hosts: the all-in-one tuning guide for these builds.
- NGINX vs Apache in 2026: worker models, PHP-FPM and fair benchmarks: why we run this NGINX build instead of Apache.
- WordPress NGINX configuration: PHP-FPM, FastCGI cache and Redis: the WordPress-focused tuning recipe.
- NGINX Load Balancing: Upstream Config, Health Checks and Failover:
upstream { }patterns with these modules. - nginx reverse proxy configuration: a practical setup guide: the canonical reverse-proxy walkthrough.
- nginx and Angie on Kubernetes: ingress, TLS and WAF with Helm: how this module set runs in a Helm/Ingress setup.
History, deprecations and releases
- nginx-core, nginx-full and nginx-light: deprecated, not gone: the migration path to this per-module layout.
- Debian Forky (Debian 14): What It Is and What to Expect: what the next Debian release means for these packages.
- Angie Web Server: The Complete Guide: review, ACME, migration, API and HTTP/3 for the NGINX fork.
- nginx-minimal: what the lean nginx build leaves out: the slim base package this repo ships alongside.
- Angie 1.11.5 security release: the five CVEs explained: the Angie counterpart release.
- Google PageSpeed for nginx: what it did, how it ended and what replaces it: context for the
libnginx-mod-pagespeedpackage we still ship. - Block AI scanner bots with nginx and Angie: six tested layers: rate limits, a WAF, request validation and log-fed bans against automated scanners.
Mail, PHP and other packaged software
- Postfix Dovecot Debian mail server setup with Rspamd and DKIM: the mail stack we package alongside the web server.
- Rspamd Explained: How Modern Spam Filtering Actually Works: the rspamd package’s full explainer.
- PHP Snuffleupagus Tutorial: Harden PHP-FPM on Debian and Ubuntu: PHP-FPM hardening alongside this NGINX build.
- Valkey Explained: The Redis Fork That Actually Won: the Valkey package we publish.
- Database Boost: WordPress database cleanup, indexes and repair: the WP-side companion plugin.
- docker-cms: PHP 8.5 Docker image for WordPress maintenance with WP-CLI: container image bundling these packages.
- Docker Hardening for Self-Hosters: Rootless, Read-Only, Cap-Drop, Distroless: how we lock down the container images that ship NGINX/Angie.
- Self-hosted Vaultwarden: Docker setup, clients and backups: another self-hosting walkthrough using this stack.
History and background
- The Enigma Machine: How Bletchley Park Cracked the Unbreakable Code: cryptography history, for context on the TLS chapters above.
See also
- OpenSSL-NGINX – the dedicated OpenSSL build these packages are linked against for kTLS, QUIC, and leaner crypto defaults.
- HTTP/3 on NGINX – QUIC setup on current Debian and Ubuntu releases.
- Post-Quantum TLS for NGINX and Angie – hybrid ML-KEM TLS using these OpenSSL-enabled builds today.
- Angie and NGINX Docker Images – the daily-rebuilt containers and image tags.
- lua-resty modules – the bundled OpenResty helper libraries packaged alongside nginx.
- How to Add the myguard APT Repository – repository setup, signing keys and per-distribution suite names.
- myguard-labs/nginx-zstd-module – our maintained fork of the zstd-nginx-module (the source for
libnginx-mod-http-zstdon this repo); fuzz tests, AGENTS notes and a security policy live there. - myguard-labs/wordpress-hardening-plugin – the WordPress hardening plugin packaged alongside these builds; integration-tested against both Apache + ModSecurity v2 and nginx + libmodsecurity3.
- Articles – release notes, build write-ups and configuration walkthroughs.
See also: Self-hosting aptly: signed APT repositories with nginx.