原文:【記錄】Nginx錯誤could not build the server_names_hash you should increase server_names_hash_bucket_size: 32

今天遇到這個錯誤,現記錄下解決方案: 在nginx的配置文件的http段中增加如下配置: server names hash bucket size 下面是nginx官方文檔解釋: 如果定義了大量名字,或者定義了非常長的名字,那可能需要在http配置塊中使用server names hash max size和server names hash bucket size指令進行調整。server n ...

2019-08-30 18:07 0 441 推薦指數:

查看詳情

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 解決方法

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報錯”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