mirror of
https://github.com/nginx/nginx.git
synced 2024-11-26 02:40:46 -06:00
unlink proxy_cache and proxy_cache_valid
This commit is contained in:
parent
7e4d11bb44
commit
3a20e4a477
@ -2068,10 +2068,6 @@ ngx_http_proxy_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child)
|
||||
ngx_conf_merge_ptr_value(conf->upstream.cache_valid,
|
||||
prev->upstream.cache_valid, NULL);
|
||||
|
||||
if (conf->upstream.cache_valid == NULL) {
|
||||
conf->upstream.cache = NULL;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
if (conf->method.len == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user