镜像概览
- 完整引用
docker.io/fholzer/nginx-brotli- Registry
- docker.io
- 命名空间
- fholzer
- 仓库
- nginx-brotli
- 已缓存 Tag 数
- 16
- 最近同步
- 07/05/2026, 11:30 AM
- 相关主题
简介
nginx-brotli 镜像,预编译 Brotli 压缩模块的 Nginx,静态资源高效压缩反向代理与 CDN 源站。
详细介绍
fholzer/nginx-brotli 提供内置 ngx_brotli 模块的 Nginx 构建,支持 Brotli/gzip 静态资源压缩与反向代理。定位为高性能 Web 反向代理/静态服务器,挂载 nginx.conf 与 webroot;CDN 源站、静态资源加速或 API 网关 TLS 终止与压缩。
快速启动
docker run -d --name nginx-brotli \
-p 80:80 -p 443:443 \
-v /etc/nginx:/etc/nginx:ro \
-v /var/www:/var/www:ro \
docker.io/fholzer/nginx-brotli:latest
推荐实践
docker run -d --name nginx-brotli \
--restart unless-stopped \
-p 80:80 -p 443:443 \
-v /etc/nginx:/etc/nginx:ro \
-v /var/www:/var/www:ro \
docker.io/fholzer/nginx-brotli:v1.25.0
核心参数说明
-p 443:443— HTTPS 端口brotli on— nginx.conf 启用压缩-v .../www:...— 静态资源目录- TLS — 挂载证书至 /etc/nginx/ssl
Kubernetes
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-brotli
spec:
replicas: 2
selector:
matchLabels:
app: nginx-brotli
template:
metadata:
labels:
app: nginx-brotli
spec:
containers:
- name: nginx
image: docker.io/fholzer/nginx-brotli:v1.25.0
ports:
- containerPort: 80
- containerPort: 443
volumeMounts:
- name: config
mountPath: /etc/nginx
- name: www
mountPath: /var/www
volumes:
- name: config
configMap:
name: nginx-config
- name: www
persistentVolumeClaim:
claimName: www-data
---
apiVersion: v1
kind: Service
metadata:
name: nginx-brotli
spec:
selector:
app: nginx-brotli
ports:
- port: 80
targetPort: 80
Ingress 或 LoadBalancer 暴露;ConfigMap 管理 nginx.conf。
最新 Tag(20 条)
查看全部 16 个 Tag →| Tag | 架构 | 推送时间 | 大小 | Digest | 同步 | 期望 | 操作 |
|---|---|---|---|---|---|---|---|
docker.io/fholzer/nginx-brotli :v1.30 | linux/amd64linux/arm64linux/ppc64le | 2026/06/28 21:28 | 15.5 MB | sha256:889d7b9b3566… | |||
docker.io/fholzer/nginx-brotli :v1.30.1 | linux/amd64linux/arm64linux/ppc64le | 2026/06/28 21:28 | 15.5 MB | sha256:889d7b9b3566… | |||
docker.io/fholzer/nginx-brotli :v1.31 | linux/amd64linux/arm64linux/ppc64le | 2026/06/28 21:27 | 15.5 MB | sha256:820c831e25dc… | |||
docker.io/fholzer/nginx-brotli :v1.31.1 | linux/amd64linux/arm64linux/ppc64le | 2026/06/28 21:27 | 15.5 MB | sha256:820c831e25dc… | |||
docker.io/fholzer/nginx-brotli :mainline-latest | linux/amd64linux/arm64linux/ppc64le | 2026/06/28 21:27 | 15.5 MB | sha256:820c831e25dc… | |||
docker.io/fholzer/nginx-brotli :v1.29 | linux/amd64linux/arm64linux/ppc64le | 2026/06/28 21:27 | 15.5 MB | sha256:ff1222170491… | |||
docker.io/fholzer/nginx-brotli :v1.29.8 | linux/amd64linux/arm64linux/ppc64le | 2026/06/28 21:27 | 15.5 MB | sha256:ff1222170491… | |||
docker.io/fholzer/nginx-brotli :v1.31.0 | linux/amd64linux/arm64linux/ppc64le | 2026/06/28 21:26 | 15.5 MB | sha256:8a685242aefc… | |||
docker.io/fholzer/nginx-brotli :v1.30.0 | linux/amd64linux/arm64linux/ppc64le | 2026/06/28 21:26 | 15.5 MB | sha256:e7ccc0ed3912… | |||
docker.io/fholzer/nginx-brotli :v1.28 | linux/amd64linux/arm64linux/ppc64le | 2026/06/28 21:23 | 15.5 MB | sha256:53eb44712365… | |||
docker.io/fholzer/nginx-brotli :v1.28.3 | linux/amd64linux/arm64linux/ppc64le | 2026/06/28 21:23 | 15.5 MB | sha256:53eb44712365… | |||
docker.io/fholzer/nginx-brotli :v1.26 | linux/amd64linux/arm64linux/ppc64le | 2026/06/28 21:22 | 15.5 MB | sha256:67cf3df31027… | |||
docker.io/fholzer/nginx-brotli :v1.26.2 | linux/amd64linux/arm64linux/ppc64le | 2026/06/28 21:22 | 15.5 MB | sha256:67cf3df31027… | |||
docker.io/fholzer/nginx-brotli :v1.30.2 | linux/amd64linux/arm64linux/ppc64le | 2026/06/28 21:16 | 15.5 MB | sha256:06b3b0d3d192… | |||
docker.io/fholzer/nginx-brotli :latest | linux/amd64linux/arm64linux/ppc64le | 2026/06/28 21:16 | 15.5 MB | sha256:06b3b0d3d192… | |||
docker.io/fholzer/nginx-brotli :v1.28.0 | linux/amd64linux/arm64linux/ppc64le | 2026/06/28 21:16 | 15.5 MB | sha256:bec976d4d9ea… |