could not build server_names_hash, you should increase server_names_hash_bucket_size: 32

查看nginx日志:

 

发现报错:

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;】。

猜你喜欢

转载自blog.csdn.net/xutongbao/article/details/126155717