nginx-warn: could not build optimal proxy_headers_hash


How can I solve “nginx: [warn] could not build optimal proxy_headers_hash, you should increase either proxy_headers_hash_max_size: 512 or proxy_headers_hash_bucket_size: 64; ignoring proxy_headers_hash_bucket_size error“. 

看英文或听因为,一定要把重点放在动词上, 理解会快一点。

you should increase  ....
你应该增加 。。。
那意思就是说 增加那两个默认数值, either or,  任何一个都行。

那就翻倍的增加,然后测试看是否还会报warn.
nginx -t -c  .../nginx.conf

阅读量: 94
发布于:
修改于: