HTTP directives

types_hash_max_size directive (HTTP)

Set MIME type hash table maximum sizing parameter. Context: http, server, location. Documented default: 1024. Version: Introduction not established. OSS documentation; check target build. Example is a partial http configuration fragment; use a disposable lab, not a production tuning prescription.

Formal Syntax & Structure

nginx syntaxnginx
types_hash_max_size size;

Parameters & Attributes

NameTypeDescription
sizeintegerValue for types hash max size.

Working Example

Example Snippetnginx
types_hash_max_size 2048;
Nginx Reference