HTTP directives

types_hash_bucket_size directive (HTTP)

Choose MIME type hash bucket width for the configured extension table. Context: http, server, location. Documented default: 64. Version: Introduction not established. OSS documentation; check target build. Default was cache-line dependent before 1.5.13. Example is a partial http configuration fragment; use a disposable lab, not a production tuning prescription.

Formal Syntax & Structure

nginx syntaxnginx
types_hash_bucket_size size;

Parameters & Attributes

NameTypeDescription
sizebyte sizeValue for types hash bucket size. Use Nginx size suffixes where appropriate.

Working Example

Example Snippetnginx
types_hash_bucket_size 128;
Nginx Reference