This is a super simple and easy to read nginx docker alpine-based image.
- Only default nginx modules
ngx_brotli
— brotli algorithm compressiongit
apk installed- Ports
80
and443
are exposed by default
This is the smallest and most up-to-date nginx-brotli image you can find.
The most popular fholzer/nginx-brotli
with 1 million pools is 13.96 MB, wokalek/nginx-brotli
is 9.36 MB (compressed size, compare 1.25.1 tags).
Alpine! Everyone loves alpine. Other images you may find use different base images.
And of course this dockerfile can be perfect for your nginx build with your modules! Take a look.
Pull image from Docker Hub:
docker pull wokalek/nginx-brotli
or from GitHub Packages:
docker pull ghcr.io/wokalek/nginx-brotli
You can use this image just like the official nginx.
Check out the available tags.
If you are looking for HTTP3/QUIC support, there is an http3/quic build using OpenSSL.