诺亚孤舟

导航

2012年6月11日 #

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 or server_names_hash_bucket_size: 128″在nginx.conf配置文件的http{}把server_names_hash_bucket_size 128改为server_names_hash_bucket_size 512,按32的倍数往上加,再重启问题解决。[root@localho 阅读全文

posted @ 2012-06-11 16:49 诺亚孤舟 阅读(7766) 评论(0) 推荐(0)