Is it possible to configure nginx proxy_cache_key to include a specific header as a key instead of just request/args?
I would like to cache my API GET hits and am using x-authtoken in my headers for authentication. This is ignored currently, so another user will get the cache of a previous user if I leave cache enabled.
$http_...
nginx.org/en/docs/http/ngx_http_core_module.html#var_http_