Skip to content
/ nginx Public

Distroless NGINX with HTTP/3 and QUIC support (OpenSSL)🚀

Notifications You must be signed in to change notification settings

ammnt/nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distroless NGINX with HTTP/3 and QUIC support🚀

Build and push image📦 version GitHub issues open GitHub Maintained GitHub Maintained Visitors

The Docker image is ready to use:
docker run -d --rm -p 127.0.0.1:8080:8080/tcp ghcr.io/ammnt/nginx:latest
or
docker run -d --rm -p 127.0.0.1:8080:8080/tcp ammnt/nginx:latest

Attention:

The server-side QIUC support expected in OpenSSL 3.4 has been delayed until the next release: openssl/openssl#25767 (reply in thread)

It is being actively worked on. It is now planned to be released as part of OpenSSL-3.5 which will be out in April 2025.

Description:

  • Based on latest version of Alpine Linux - low size (~5 MB);
  • OpenSSL with HTTP/3 and QUIC support:
    https://github.com/openssl/openssl
  • HTTP/2 with ALPN support;
  • TLS 1.3 and 0-RTT support;
  • TLS 1.2 and TCP Fast Open (TFO) support;
  • Built using hardening GCC flags;
  • NJS and Brotli support;
  • PCRE with JIT compilation;
  • zlib-ng library latest version;
  • Rootless master process - unprivileged container;
  • Async I/O threads module;
  • "Distroless" image - shell removed from the image;
  • Removed unnecessary modules;
  • Added OCI labels and annotations;
  • No excess ENTRYPOINT in the image;
  • Slimmed version by Docker Slim tool;
  • Scanned efficiency result with Dive tool;
  • Scanned by vulnerability scanners: GitHub, Docker Scout, Snyk, Grype, Clair and Syft;
  • Prioritize ChaCha cipher patch and anonymous signature - removed "Server" header ("banner"):
    https://github.com/ammnt/nginx/blob/main/Dockerfile

Note:

Feel free to contact me with more security improvements🙋