proxy_headers_hash_bucket_size和proxy_headers_hash_max_size

101 views
Skip to first unread message

iihe...@gmail.com

unread,
Jan 19, 2017, 5:16:50 AM1/19/17
to openresty
nginx proxy模块的 proxy_headers_hash_bucket_size和proxy_headers_hash_max_size这两个指令怎么用啊,看文档也不知道什么意思?哪位大神能帮忙解说下呢

Zexuan Luo

unread,
Jan 19, 2017, 10:14:59 PM1/19/17
to openresty
顾名思义,是决定 proxy_pass 时存储 headers 的 hash 数据结构的相关属性的配置。
nginx hash 是用链表法解决冲突的。
前者设置 hash 桶的大小,后者设置 hash 桶的数量。

在 2017年1月19日星期四 UTC+8下午6:16:50,iihe...@gmail.com写道:

iihe...@gmail.com

unread,
Feb 28, 2017, 2:36:41 AM2/28/17
to openresty
谢谢你了

在 2017年1月20日星期五 UTC+8上午11:14:59,Zexuan Luo写道:
Reply all
Reply to author
Forward
0 new messages