Current version: 1.29.8 (last built: 2026-05-04)

The myguard NGINX package tracks the latest mainline release, compiled with aggressive performance optimizations and an extensive set of dynamic modules — all available as libnginx-mod-* packages via APT. See the How to use page to add the repository.

Build log: nginx-build.log — Docker images: Docker page

Build features

  • Latest NGINX mainline — updated automatically on each upstream release
  • Linked against OpenSSL+quic for full TLS 1.3 and HTTP/3 QUIC support
  • Linked against openssl-nginx — dedicated OpenSSL 3.5 built for webservers: kTLS offload, ec_nistp_64_gcc_128, RDRAND hardware entropy, no legacy ciphers or bloat
  • Compiled with -O3 -flto for maximum throughput
  • Linked against zlib-ng (native mode) for faster gzip/deflate
  • kTLS support — enable with modprobe tls and ssl_conf_command Options KTLS;
  • TCP Fast Open — enable with sysctl -w net.ipv4.tcp_fastopen=3
  • AIO and threading support (better performance for ZFS and high-concurrency workloads)
  • Cloudflare dynamic TLS records patch for reduced TLS latency
  • OpenSSL+quic patched for yielding operations in ssl_session_fetch_by_lua* and ssl_certificate_by_lua*
  • Optimized nginx.conf with security snippets and bot-blocking examples in snippets/
  • No Debian/Ubuntu branding in the server signature
  • A+ on SSL Labs with default SSL directives

Security modules

Compression modules

Geo and traffic modules

Rate limiting and load control

Lua and scripting modules

Headers and response manipulation

Caching and static serving

Streaming and pub/sub

Built-in modules (no extra package)

  • libnginx-mod-http-geoip — legacy MaxMind GeoIP v1
  • libnginx-mod-http-image-filter — on-the-fly image resizing/cropping
  • libnginx-mod-http-perl — Perl scripting
  • libnginx-mod-http-xslt-filter — XSLT transformations
  • libnginx-mod-mail — mail proxy (SMTP, IMAP, POP3)
  • libnginx-mod-stream — TCP/UDP load balancing
  • libnginx-mod-stream-geoip — legacy GeoIP v1 for stream

Standalone libraries

Custom scripts included

  • reorder-modules.sh — set module load order, including Docker support
  • cloudflare.sh — fetch Cloudflare IP ranges for use with CF-Connecting-IP

Patches applied

  • dynamic_tls_records.patch — Cloudflare TLS latency optimization
  • ssl_cert_cb_yield.patch — OpenResty yielding operations in SSL callbacks
  • zlib-ng.patch — zlib-ng native mode compatibility

Post-Quantum Cryptography (PQC) ready

NGINX from this repository is compiled against openssl-nginx 3.5, which ships ML-KEM (FIPS 203) as a stable algorithm. Add one directive to enable hybrid post-quantum key exchange for Chrome, Firefox, and Edge today:

ssl_ecdh_curve X25519MLKEM768:x25519:secp256r1:secp384r1;

Clients that support X25519MLKEM768 negotiate a hybrid X25519 + ML-KEM-768 handshake automatically. Clients that do not support it fall back to classical groups unchanged. See the Post-Quantum TLS configuration guide for the full setup, verification steps, and FAQ.

Report issues

Open an issue at github.com/eilandert/deb.myguard.nl.