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

网友留言(0 条)

发表评论