一、nginx重启报错问题
报错问题如下:
- 报错代码:nginx [warn] could not build optimal variabl es hash, you should increase either variabl es hash max size: 1024 or variables hash bucket -size: 64; ignoring variables hash_bu cket size
复制代码 搜索全面没有看到相关解决方法,特在此发布一下解决方法
二、解决方法:
在nginx配置文件中添加如下参数:
- variables_hash_max_size 2048;
- variables_hash_bucket_size 512;
复制代码 即可解决问题,重启等不再报错。
|
|