HTTP directives
server_names_hash_max_size directive (HTTP)
Set server-name hash table maximum sizing parameter; it is not a cap on served hostnames. Context: http. Documented default: 512. 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_max_size size;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| size | integer | Value for server names hash max size. |
Working Example
Example Snippetnginx
server_names_hash_max_size 1024;