mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -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,
|
ngx_conf_merge_ptr_value(conf->upstream.cache_valid,
|
||||||
prev->upstream.cache_valid, NULL);
|
prev->upstream.cache_valid, NULL);
|
||||||
|
|
||||||
if (conf->upstream.cache_valid == NULL) {
|
|
||||||
conf->upstream.cache = NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (conf->method.len == 0) {
|
if (conf->method.len == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user