proxy_cache_key
HTTP proxy: Defines the cache key.
| Syntax | proxy_cache_key string; |
|---|---|
| Contexts | httpserverlocation |
Behavior
Use with the matching upstream handler and a configured cache zone. Child-scope cache lists replace inherited lists.
Example
proxy_cache_key "$scheme$request_method$host$request_uri";