原文: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: or server names hash bucket size: 在nginx.conf配置文件的http 把server nam ...

2012-06-11 16:49 0 6921 推荐指数:

查看详情

nginx could not build the server_names_hash 解决方法

nginxnginx 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启动报错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
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM