NGINX module for the Zstandard compression
7 — 所有核心与模块指令——语法、默认值、上下文与真实配置示例。
zstd
在 NGINX 中,`zstd` 指令用于启用或禁用针对 HTTP 响应的 Zstandard 压缩。
httpserverlocation
zstd_buffers
设置 NGINX 中 Zstandard 压缩过滤器使用的缓冲区数量和大小。
httpserverlocation
zstd_comp_level
`zstd_comp_level` 指令用于在 NGINX 中设置 Zstandard 压缩的压缩级别。
httpserverlocation
zstd_dict_file
`zstd_dict_file` 指令指定用于 Zstandard 压缩的外部字典文件。
http
zstd_min_length
指令 `zstd_min_length` 设置将使用 Zstandard 压缩的响应体的最小大小。
httpserverlocation
zstd_static
指令 `zstd_static` 使得在 NGINX 中可以使用 Zstandard 压缩提供预压缩的静态文件。
httpserverlocation
zstd_types
`zstd_types` 指令指定应使用 Zstandard (zstd) 压缩算法压缩的 MIME 类型。
httpserverlocation