Angie web server for Debian & Ubuntu
The maintained NGINX fork from former NGINX core developers, packaged for apt: built-in ACME, a JSON status API, HTTP/3 and the same module set as our NGINX stack. Same config syntax, new home in /etc/angie/.
These are Angie packages for Debian and Ubuntu: the latest Angie build for five releases, with up to 113 module packages and an ACME client compiled into the core. The Angie web server is the NGINX fork started in 2022 by former NGINX core developers, and it reads the same configuration language you already know.
What it doesn’t read is /etc/nginx/. Remember that path. It’s the one that bites.
They share the hardening flags, most of the patches and nearly all of the modules of our NGINX packages for Debian and Ubuntu, rebuilt for Angie under angie-module-* names. Pick the binary you want and the modules follow you.
What is Angie, and why run it instead of NGINX?
Angie is a fork of NGINX maintained by developers who used to work on NGINX itself. Directives, config syntax and the dynamic-module model are the same. On top of that you get a built-in ACME client for Let’s Encrypt, a JSON status API and a release cadence that isn’t tied to F5’s product roadmap.
If you run Certbot only to feed certificates to NGINX, Angie is the better server for you. Certbot, a systemd timer and a reload hook make three moving parts to keep one file fresh, and each of them has failed on somebody’s Sunday. Angie renews in-process.
Stay on NGINX if you depend on something F5 ships only for NGINX, or if your config management assumes /etc/nginx/ on every host and you’d rather not touch it. Both stacks here get the same module rebuilds, so the choice comes down to features.
How do I install Angie on Debian or Ubuntu?
Add the repository, install the server, then install modules as packages. The APT repository setup guide has the signing key and sources line for each release.
apt update
apt install angie
apt install angie-module-http-brotli angie-module-http-geoip2
Each module package drops a load_module snippet into /etc/angie/modules-enabled/, and the stock angie.conf includes that directory near the top. There’s nothing to add by hand. Test, then reload:
angie -t
systemctl reload angie
One install-time gotcha: if NGINX still holds port 80, the post-install script prints Not attempting to start NGINX, port 80 is already in use. and leaves Angie stopped. Yes, it says NGINX. The maintainer scripts came over from the nginx packaging, error strings included.
Migrating from NGINX: what carries over and what doesn’t
Syntax carries over. Paths don’t. Angie’s main config is /etc/angie/angie.conf, and the package installs sites-available, sites-enabled, conf.d and snippets under /etc/angie/, just like Debian’s nginx packaging under /etc/nginx/.

- Copy the server blocks:
cp -a /etc/nginx/sites-available/. /etc/angie/sites-available/, then recreate the symlinks in/etc/angie/sites-enabled/. - Hunt the old paths with
grep -rn /etc/nginx /etc/angie/. Everyinclude,ssl_certificateandauth_basic_user_filewith an absolute nginx path still points at the old tree, which works right up until you purge the nginx package. - Swap modules. Every
libnginx-mod-*package exceptlibnginx-mod-http-lua-upstreamhas anangie-module-*counterpart built from the same source. - Switch servers:
angie -t && systemctl disable --now nginx && systemctl enable --now angie.
Rolling back is the same steps in reverse, and the nginx tree is untouched because you copied it rather than moved it. Keep it that way until Angie has survived its first certificate renewal.
Let’s Encrypt certificates without Certbot
This build compiles in Angie’s http_acme_module. Declare a client, point a server block at it, and Angie requests and renews the certificate itself:
http {
resolver 127.0.0.53;
acme_client letsencrypt https://acme-v02.api.letsencrypt.org/directory;
server {
listen 80;
listen 443 ssl;
server_name example.com www.example.com;
acme letsencrypt;
ssl_certificate $acme_cert_letsencrypt;
ssl_certificate_key $acme_cert_key_letsencrypt;
}
}
The resolver line isn’t decoration. Angie looks up the ACME directory host at runtime, so point it at whatever resolver the host actually runs. Port 80 has to answer from the internet for the HTTP-01 challenge. The complete Angie guide walks through a full vhost and the renewal behaviour.
The JSON status API
NGINX gives you stub_status: seven numbers in plain text. Angie’s api directive serves a JSON tree of connections, server zones, upstream peers and caches:
location /status/ {
api /status/;
allow 127.0.0.1;
deny all;
}
Give your upstreams a shared-memory zone and your server blocks a status_zone, then curl -s http://127.0.0.1/status/http/upstreams/ shows per-peer state and response counts. Keep the allow/deny pair. This endpoint describes your whole backend topology to anyone who asks.
What’s in this Angie build
- Linked against openssl-nginx, our OpenSSL 4.0 build for web servers, configured with
enable-ktls,enable-tfoand TLS 1.3. - HTTP/3 over QUIC (
--with-http_v3_module). The HTTP/3 and QUIC setup guide applies to Angie unchanged. - Kernel TLS, per server, once you ask for it with
ssl_conf_command Options KTLS;. - Compiled at
-O2with LTO off,_FORTIFY_SOURCE=3and the Debian hardening flags. - The module list and the patch series below, both generated from the package source.
Post-quantum TLS with ML-KEM
openssl-nginx 4.0 ships with ML-KEM (FIPS 203) support, so hybrid post-quantum key exchange is a one-liner:
ssl_ecdh_curve X25519MLKEM768:X25519:prime256v1:secp384r1;
Any client offering X25519MLKEM768 gets the hybrid X25519+ML-KEM-768 handshake; all others fall back to the classical groups. See the post-quantum TLS guide for how to check which group your clients negotiated.
Applied patches
The patch series applied to every Angie build, in order:
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.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_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.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 →http-smuggling.patch– (no description yet — document in sync-stack-pages.py PATCH_DOCS)
Standalone libraries provided
Libraries built alongside the modules. Most ship as their own packages, such as libmodsecurity3, libcoraza1, libjemalloc2, libz-ng2, libssl-nginx, modsecurity-crs and the lua-resty packages. PSOL, libinjection and quickjs-ng are linked into a module at build time. None of them loads as an Angie module.
- libmodsecurity3 – v3 library component used by the nginx connector.
- libcoraza – C/Go WAF engine linked by angie-module-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 the Lua module (
angie-module-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 and Angie (kTLS, QUIC, leaner crypto defaults), packaged as
libssl-nginx. - PSOL – Page Speed Optimisation Library, per-distro builds for ngx_pagespeed.
- 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.
All dynamic modules
Every module ships as an angie-module-* package and enables itself on install through /etc/angie/modules-enabled/. Remove the package to unload it.
Security & WAF modules
- angie-module-http-modsecurity – ModSecurity v3 WAF connector
- angie-module-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 → - angie-module-http-naxsi – NAXSI open-source WAF
- angie-module-http-waf – ngx_waf high-performance firewall
- angie-module-http-testcookie-access – Cookie-based bot mitigation
- angie-module-http-js-challenge – JavaScript proof-of-work anti-DDoS
- angie-module-http-captcha – CAPTCHA challenge module
- angie-module-http-security-headers – Automatic security headers
- angie-module-http-bot-verifier – verifies declared bots (Googlebot etc.) by reverse-DNS
Authentication modules
- angie-module-http-auth-ldap – LDAP authentication
- angie-module-http-auth-pam – PAM authentication
- angie-module-http-auth-spnego – Kerberos/SPNEGO authentication
- angie-module-http-auth-hmac – HMAC-signed URL authentication
- angie-module-http-auth-internal – internal authentication helper for protected locations
- angie-module-http-auth-jwt – JWT validation and claims-based authorisation
- angie-module-http-auth-totp – Time-based one-time password (TOTP) authentication for Nginx
- angie-module-http-aws-auth – This nginx module can proxy requests to authenticated S3 backends using Amazon’s
- angie-module-http-encrypted-session – Encrypt/decrypt nginx variables
- angie-module-http-hmac-secure-link – HMAC-signed secure download links
Compression modules
- angie-module-http-brotli – Brotli compression, filter + static
- angie-module-http-zstd – Zstandard compression
- angie-module-http-unbrotli – transparently decompress Brotli-encoded upstream responses
- angie-module-http-unzstd – transparently decompress zstd-encoded upstream responses
- angie-module-http-compression-normalize – ngx_http_compression_normalize_module is an Nginx module designed to parse, normalize, and manage the Accept-Encoding headers from client requests.
- angie-module-http-compression-vary – ngx_http_compression_vary_filter_module is a header filter module used instead of the ‘gzip_vary’ directive.
Geo-location & analytics modules
- angie-module-http-geoip2 – MaxMind GeoIP2 HTTP lookup
- angie-module-http-vhost-traffic-status – Per-vhost traffic statistics
- angie-module-http-user-agent – Match browsers and crawlers
- angie-module-ipscrub – IP anonymizer for GDPR-compliant logging
- angie-module-http-statsd – emit nginx metrics to a StatsD collector
- angie-module-stream-sts – stream-context traffic status monitoring
Access control & rate limiting modules
- angie-module-http-access-control – fine-grained access control rules beyond allow/deny
- angie-module-http-access-plus – Limit access by HTTP method and address
- angie-module-http-dynamic-limit-req – Dynamically lock/release IPs
- angie-module-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. - angie-module-http-sysguard – Protect against high load and memory pressure
- angie-module-http-cors – Support Cross-Origin Resource Sharing (CORS) in Nginx.
- angie-module-http-cookies-filter – A NGINX module for fine-grained request cookies control.
- angie-module-http-cookie-flag – The Nginx module for adding cookie flag
Cache management modules
- angie-module-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 →
- angie-module-http-cache-purge – Purge proxy/fastcgi cache entries
- angie-module-http-cache-dechunk-filter – allows range request for cached response that was recieved from upstream with Transfer-Encoding: chunked.
- angie-module-http-srcache-filter – Transparent subrequest-based caching
- angie-module-http-slowfs-cache – slow filesystem caching layer for static assets
- angie-module-http-pagespeed – Google PageSpeed — optimize assets on the fly
- angie-module-http-upstream-cache-vars – expose upstream cache state as variables
Lua & scripting modules
- angie-module-http-lua – Embed Lua into request processing, OpenResty
- angie-module-stream-lua – Lua for TCP/UDP stream blocks
- angie-module-http-ndk – Nginx Development Kit, required by Lua modules
- angie-module-http-set-misc – set_md5, set_sha1, set_quote_json and more
- angie-module-http-echo – Shell-style echo/sleep/subrequest directives
- angie-module-http-eval – Evaluate upstream response into a variable
- angie-module-http-redis2 – Redis 2.0 protocol upstream
- angie-module-http-xss-filter – Native cross-site AJAX support
- angie-module-http-form-input – read application/x-www-form-urlencoded POST data into variables
- angie-module-http-iconv – on-the-fly character encoding conversion of responses
Headers & response manipulation modules
- angie-module-http-headers-more-filter – Set/clear any request or response header
- angie-module-http-subs-filter – Regex substitution in response body
- angie-module-http-trim-filter – Strip whitespace and HTML comments
- angie-module-http-length-hiding-filter – Pad responses to obscure content length
- angie-module-http-dynamic-etag – ETags for dynamic content
- angie-module-http-footer-filter – append content to response bodies
- angie-module-http-log-var-set – set variables specifically for use in access logs
- angie-module-http-proxy-var-set – set variables on proxied requests
- angie-module-http-extra-variables – additional built-in variables for logging and routing
- angie-module-http-array-var – array-typed variables for use with rewrite/lua
- angie-module-http-keyval – nginx-keyval is a key-value store dynamic module for nginx.
- angie-module-http-internal-redirect – issue internal redirects from config
- angie-module-http-loop-detect – ngx_http_loop_detect_module allows NGINX to use the CDN-Loop header to prevent request loops.
- angie-module-http-error-log-write – ngx_http_error_log_write_module allows writing error log entries based on conditional expressions in nginx configuration files..
- angie-module-http-rewrite-status-filter – rewrite upstream response status codes
Static serving & WebDAV modules
- angie-module-http-fancyindex – Styled directory listings
- angie-module-http-concat – Concatenate CSS/JS files in one request
- angie-module-http-dav-ext – Full WebDAV: PROPFIND, OPTIONS, LOCK
- angie-module-http-uploadprogress – Track upload progress
- angie-module-http-upload – resumable file upload handler
- angie-module-http-zip – stream ZIP archives assembled from upstream files
- angie-module-http-sorted-querystring – normalize querystring order for cache-key stability
- angie-module-http-cgi – Brings CGI support to Nginx and
Streaming & real-time modules
- angie-module-http-flv-live – HTTP-FLV live streaming with GOP cache
- angie-module-rtmp – RTMP streaming
- angie-module-nchan – Pub/sub for HTTP, SSE, WebSockets
- angie-module-http-doh – DNS-over-HTTPS endpoint
- angie-module-http-early-hints – HTTP 103 Early Hints
- angie-module-http-vod – video-on-demand packaging (HLS, DASH, MSS) on the fly
- angie-module-http-ts – MPEG-TS streaming module
- angie-module-http-server-redirect – server-block-level redirect helper
- angie-module-http-let – assign expressions to variables with arithmetic and string ops
Upstream & load balancing modules
- angie-module-http-dynamic-upstream – runtime upstream management via HTTP API
- angie-module-http-upstream-fair – (description pending)
- angie-module-http-combined-upstreams – The module introduces three directives add_upstream,
- angie-module-http-memc – (description pending)
- angie-module-http-enhanced-memc – (description pending)
- angie-module-http-postgres – direct PostgreSQL upstream backend
TLS & fingerprinting modules
- angie-module-ssl-fingerprint – A high performance nginx module for ja4, ja3, and http2 fingerprint. Write-up →
Built-in modules (no separate package needed)
- 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.
Other modules
- angie-module-http-shield – (description pending)
- angie-module-http-autocert – Automatic TLS certificates for NGINX — built into the server.
- angie-module-http-limit-traffic-rate – Nginx directive limit_rate could limit connection’s speed, and limit_conn could limit connection number by given variable.
- angie-module-http-push-stream – (description pending)
- angie-module-http-strip-filter – (description pending)
- angie-module-http-upstream-log – The ngx_http_upstream_log_module module writes upstream request logs in the specified format, like ngx_http_log_module.
- angie-module-http-var – ngx_http_var_module is a nginx module that dynamically assigns new variables through predefined functions.
- angie-module-ssl-ct – (description pending)
- angie-module-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. - angie-module-http-otel – OpenTelemetry (OTel) is an observability framework for monitoring, tracing, troubleshooting, and optimizing applications.
Angie packages for Debian and Ubuntu: supported releases
- Debian 13 Trixie and 12 Bookworm
- Ubuntu 26.04 Resolute, 24.04 Noble and 22.04 Jammy
Every release is built for amd64 and arm64. The module count depends on the release and the architecture:
- Trixie and Resolute: 113 module packages on amd64, 111 on arm64.
- Bookworm, Noble and Jammy: 111 on amd64, 109 on arm64. The Coraza WAF and OpenTelemetry modules are built only for Trixie and Resolute.
- On arm64, every release leaves out the PageSpeed and Perl modules.
On Trixie, Bookworm, Resolute, Noble and Jammy, Angie compresses gzip responses through zlib-ng: the angie package depends on libz-ng2. The Bullseye 1.10.2 and forky 1.12.0 builds don’t depend on libz-ng2, so this doesn’t apply to them.
Bullseye and Focal still have Angie 1.10.2 on amd64, but they’ve left the build matrix and won’t get newer releases or security fixes. Treat that package as a reason to upgrade the host. The forky suite (Debian testing) holds Angie 1.12.0, a copy of an older Trixie build that hasn’t been updated, so use Trixie for production.
Docker images
Daily-rebuilt Angie images with the same modules are on Docker Hub (eilandert). The Angie and NGINX Docker images page lists the tags.
Frequently asked questions
Related deep-dives
The modules and patches above are covered in more depth elsewhere on the site.
Angie and NGINX
- Angie web server guide: Angie vs NGINX, the status API, native ACME and migration.
- Angie 1.11.5 security release: what a security release on this stack looks like.
- nginx and Angie: a performance and security guide for WordPress hosts: tuning for both binaries.
- NGINX and Angie on Kubernetes: Helm, Ingress, WAF and HTTP/3.
TLS, HTTP/3 and OpenSSL
- OpenSSL 4.0 nginx upgrade: what changed when openssl-nginx moved from 3.x to 4.0.
- nginx TLS configuration for an SSL Labs A+: ciphers, HSTS and OCSP.
Compression
- Zstd vs Brotli vs zlib-ng: encodings versus engines, and the CPU cost of each.
- NGINX Brotli Compression: install, configure and pre-compress static assets.
- zstd-nginx-module: the bugs we fixed, and the ones we caused: the upstream bugs and our fork’s fixes.
Security and WAF
- How to Install ModSecurity and OWASP CRS on NGINX: the step-by-step install.
- Coraza WAF for NGINX: the Go-based ModSecurity replacement shipped as a module.
- NGINX Rate Limiting:
limit_reqbursts, 429 responses and WordPress. - What Is the BREACH Attack?: the compression side channel and how to close it.
Scripting and operations
- NGINX Lua Module: what the Lua module can do, with working examples.
- OpenResty Lua Modules for NGINX and Angie: the
lua-resty-*packages that ship alongside. - NGINX Reverse Proxy Configuration: the reverse-proxy walkthrough, valid for Angie.
- NGINX Load Balancing: upstreams, health checks and failover.
- nginx-core, nginx-full and nginx-light: deprecated, not gone: the migration that produced this packaging.
Report issues
Open an issue at github.com/myguard-labs/deb.myguard.nl.