HTTP directives

server_names_hash_bucket_size directive (HTTP)

Adjust the server-name hash bucket width for long names; tune only after a diagnostic. Context: http. Documented default: 32 | 64 | 128 (CPU-dependent). 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
server_names_hash_bucket_size size;

Parameters & Attributes

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

Working Example

Example Snippetnginx
server_names_hash_bucket_size 128;
Nginx Reference