]> git.kaiwu.me - nginx.git/commit
Upstream: proxy_cache_convert_head directive.
authorRoman Arutyunyan <arut@nginx.com>
Wed, 11 Nov 2015 12:47:30 +0000 (15:47 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Wed, 11 Nov 2015 12:47:30 +0000 (15:47 +0300)
commit89a049be89a2d0507bf1e4558733934bf6597432
treee21a83691a7fe266008f413d14966cec9b89604c
parent93aef089b44cf2a0bcb276eaa17ccea43024f5c2
Upstream: proxy_cache_convert_head directive.

The directive toggles conversion of HEAD to GET for cacheable proxy requests.
When disabled, $request_method must be added to cache key for consistency.
By default, HEAD is converted to GET as before.
src/http/modules/ngx_http_proxy_module.c
src/http/ngx_http_upstream.c
src/http/ngx_http_upstream.h