原文:[emerg] could not build server_names_hash, you should increase server_names_hash_bucket_size:32

报错原因该报错产生的原因主要是因为Nginx中的server配置中server name的定义值过长产生的。解决方法在Nginx的http字段内添加如下代码,放大默认bucket sizehttp server names hash bucket size ..... 注意:如果已经存在该字段信息,需要加大后面的数值。且数值必须是 的倍数这时候可能有的同学要问了,他的默认值是多少。根据Nginx ...

2020-02-06 20:22 0 682 推荐指数:

查看详情

nginx启动报错server_names_hash_bucket_size: 32

之前都好好的,这次换了个地方部署,同样的配置nginx启动却报错了 2020/12/07 23:41:58 [emerg] 1012#1012: could not build server_names_hash, you should increase ...

Mon Dec 07 19:00:00 CST 2020 0 851
nginx could not build the server_names_hash 解决方法

nginx “nginx could not build the server_names_hash”解决方法 给一个服务器下增加了一些站点别名,差不多有20多个。 重启nginx时候,提示: could not build the server_names_hash, you should ...

Thu Jan 18 17:19:00 CST 2018 0 5844
nginx报错”could not build the server_names_hash

今天在给nginx添加几十个域名后,重启nginx的时候,报错”[emerg]: could not build the server_names_hash, you should increase either server_names_hash_max_size: 512 ...

Tue Jun 12 00:49:00 CST 2012 0 6921
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM