nginx server_name_hash_bucket_size

nginx默认的 server_name_hash_bucket_size 一般为32/64,
如果配置了超长的server_name建议适当增大此参数

1
2
3
http {
server_names_hash_bucket_size 512;
}