
nginx报警:nginx: [warn] could not build optimal server_names_hash, you should increase either server_names_hash_max_size: 512 or server_names_hash_bucket_size: 64; ignoring server_names_hash_bucket_size
解决方法是在 nginx 配置文件的 http 段中增加如下配置: server_names_hash_max_size 512; server_names_hash_bucket_size 128; 然后保存完,重启...