mirror of
https://github.com/nginx/nginx.git
synced 2026-08-04 14:58:20 +00:00
Upstream: proxy_no_cache, fastcgi_no_cache warnings removed.
This commit is contained in:
parent
43736b12de
commit
239c4037ce
2 changed files with 0 additions and 12 deletions
|
|
@ -2347,12 +2347,6 @@ ngx_http_fastcgi_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child)
|
|||
ngx_conf_merge_ptr_value(conf->upstream.no_cache,
|
||||
prev->upstream.no_cache, NULL);
|
||||
|
||||
if (conf->upstream.no_cache && conf->upstream.cache_bypass == NULL) {
|
||||
ngx_log_error(NGX_LOG_WARN, cf->log, 0,
|
||||
"\"fastcgi_no_cache\" functionality has been changed in 0.8.46, "
|
||||
"now it should be used together with \"fastcgi_cache_bypass\"");
|
||||
}
|
||||
|
||||
ngx_conf_merge_ptr_value(conf->upstream.cache_valid,
|
||||
prev->upstream.cache_valid, NULL);
|
||||
|
||||
|
|
|
|||
|
|
@ -2697,12 +2697,6 @@ ngx_http_proxy_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child)
|
|||
ngx_conf_merge_ptr_value(conf->upstream.no_cache,
|
||||
prev->upstream.no_cache, NULL);
|
||||
|
||||
if (conf->upstream.no_cache && conf->upstream.cache_bypass == NULL) {
|
||||
ngx_log_error(NGX_LOG_WARN, cf->log, 0,
|
||||
"\"proxy_no_cache\" functionality has been changed in 0.8.46, "
|
||||
"now it should be used together with \"proxy_cache_bypass\"");
|
||||
}
|
||||
|
||||
ngx_conf_merge_ptr_value(conf->upstream.cache_valid,
|
||||
prev->upstream.cache_valid, NULL);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue