步骤,给nginx.conf 配置了 server_name www.testtravel.com;
报错 nginx: [emerg] could not build server_names_hash, you should increase server_names_hash_bucket_size: 32
解决办法在http中添加一行:
server_names_hash_bucket_size 64;
如果64还不够,那么就按32的倍数往上加。
示例:
2023-12-13 12:03:33
步骤,给nginx.conf 配置了 server_name www.testtravel.com;
报错 nginx: [emerg] could not build server_names_hash, you should increase server_names_hash_bucket_size: 32
解决办法在http中添加一行:
server_names_hash_bucket_size 64;
如果64还不够,那么就按32的倍数往上加。
示例:
下一篇:Java一维数组