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
date: 2019-08-12 16:33:05
author: headsen chen
notice :个人原创
告警现象:
解决办法:在http的部分添加hash缓冲值
测试:如下图,发现仍然还是产生告警,
解决办法:增大这个值,将64加大到256,
再次测试就欧克了。