could not build server_names_hash, you should increase server_names_hash_bucket_size: 32

Posted 徐同保的博客

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了could not build server_names_hash, you should increase server_names_hash_bucket_size: 32相关的知识,希望对你有一定的参考价值。


查看nginx日志:

 

could

 

发现报错:

2022/08/04 10:33:44 [emerg] 25648#32516: could not build server_names_hash, you should increase server_names_hash_bucket_size: 32

解决办法:

在nginx.conf中的http区段合适的位置添加【server_names_hash_bucket_size   512;】。

could

 

以上是关于could not build server_names_hash, you should increase server_names_hash_bucket_size: 32的主要内容,如果未能解决你的问题,请参考以下文章