Nginx -T Error: server_names_hash_bucket_size: 64; ignoring server_names_hash_bucket_size

When operating nginx – t on the server, an error is reported


nginx: [warn] could not build optimal server_names_hash, you should increase either 
server_names_hash_max_size: 512 or server_names_hash_bucket_size: 64; ignoring 
server_names_hash_bucket_size

What is the meaning of the question_ names_ hash_ bucket_ The number of alias websites created by size is 64, which can be increased by 64 times

Open: nginx.conf file and add it at http {}


server_names_hash_bucket_size 128;

Similar Posts: