Supports production-grade stable Nginx images with multiple architectures.
1.7K
A custom-built Nginx 1.28.x image, integrated with QuicTLS and common modules, supporting HTTP/2, HTTP/3, TLS 1.3, and offering multi-architecture builds (amd64 / arm64).
http_stub_status_modulehttp_ssl_modulestreamhttp_v2_modulehttp_v3_modulehttp_gzip_static_modulehttp_sub_modulengx_http_substitutions_filter_modulezh_CN.UTF-8, en_US.UTF-8)docker pull pengwz/nginx
docker run -d \
--name mynginx \
-p 80:80 -p 443:443 -p 443:443/udp \
pengwz/nginx
services:
nginx:
image: pengwz/nginx
container_name: nginx
restart: always
# Default timezone is Asia/Shanghai
# environment:
# - TZ=Asia/Tokyo
ports:
- "80:80"
- "443:443/udp" # QUIC/HTTP3 requires UDP 443
- "443:443/tcp" # HTTPS/HTTP2
volumes:
# If you have a custom main config directory
# - ./nginx.conf:/usr/local/nginx/conf/nginx.conf:rw
# Sub config directory
- ./conf.d:/usr/local/nginx/conf.d:rw
# Static files directory
- ./html:/usr/local/nginx/html:rw
# SSL certificates
- ./certs:/usr/local/nginx/certs:rw
# View logs
docker logs -f --tail 1 nginx
# Access the container
docker exec -it nginx /bin/bash
The image uses multi-stage builds:
debian:bookworm-slimAsia/Shanghainginx/usr/local/nginxlinux/amd64linux/arm6480 → HTTP443 → HTTPS (TCP)443/udp → QUIC/HTTP3--with-http_v3_module compiled.ngx_http_substitutions_filter_module for content substitution functionality.This image is based on the Nginx official open-source license and QuicTLS, suitable for both learning and production deployment.
Content type
Image
Digest
sha256:d2149217c…
Size
49.7 MB
Last updated
10 months ago
docker pull pengwz/nginx