For quite some time now nginx gives me this warning:
nginx: [warn] could not build optimal variables_hash, you should increase either variables_hash_max_size: 1024 or variables_hash_bucket_size: 64; ignoring variables_hash_bucket_size
However in the http block of my config I have this:
http {
# More config...
variables_hash_max_size 1024;
variables_hash_bucket_size 64;
# More config...
}
(Increasing to higher values doesn't solve it either! Also I ran nginx -T
and checked if these keys were set to a different value, which they were not!)
How do I solve this?
(If required I will post more of the config. I'm just not sure which parts are relevant.)