查看nginx日志:

 

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

could not build server_names_hash, you should increase server_names_hash_bucket_size: 32_nginx_02