Add config option for NGX_HTTP_CACHE_VARY_LEN
|Reported by:||Neil Craig||Owned by:|
Currently NGX_HTTP_CACHE_VARY_LEN is hardcoded at 42 characters in length. This is undocumented and causes us major issues (as we vary on zero to many header values) in our reverse proxy setup.
I have a workaround currently which is a build-time patch (against 1.9.x):
It would be really nice if this could be a configurable option to make it simple to change without mandating users compile nginx from source.
I have had messages via comments and twitter since documenting this on my blog (https://thedotproduct.org/nginx-vary-header-handling/) from several people who hit the same issue.
Change History (12)
comment:3 by , 4 years ago
|Status:||closed → reopened|