could not build optimal proxy_headers_hash, you should increase either proxy_headers_hash_max_size:

[emerg]: could not build the proxy_headers_hash, you should increase either

[emerg]: could not build the proxy_headers_hash, you should increase either proxy_headers_hash_max_size: 512 or proxy_headers_hash_bucket_size: 640


修改nginx.conf,在http段中加如下面2行,然后nginx -t测试下:


http{

proxy_headers_hash_max_size 51200;

proxy_headers_hash_bucket_size 6400;

}


标签:

上一篇Nginx四层负载均衡(实现主要就是stream模块)
下一篇​GoAccess安装方法

相关文章