xin

proxy_cache_convert_head

HTTP proxy: Converts HEAD to GET for cache storage.

Syntaxproxy_cache_convert_head on | off;
Contextshttpserverlocation

Behavior

Use with the matching upstream handler and a configured cache zone. Child-scope cache lists replace inherited lists.

Example

proxy_cache_convert_head on;