Mercurial > hg > nginx-quic
diff src/http/modules/ngx_http_proxy_module.c @ 3692:045ea40cbfe8
use ngx_http_test_predicates(), ngx_http_set_predicate_slot()
delete ngx_http_cache(), ngx_http_no_cache_set_slot()
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 14 Jul 2010 11:15:45 +0000 |
parents | 2728c4e4a9ae |
children | b0a0686a85bb |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_proxy_module.c +++ b/src/http/modules/ngx_http_proxy_module.c @@ -341,7 +341,7 @@ static ngx_command_t ngx_http_proxy_com { ngx_string("proxy_no_cache"), NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_1MORE, - ngx_http_no_cache_set_slot, + ngx_http_set_predicate_slot, NGX_HTTP_LOC_CONF_OFFSET, offsetof(ngx_http_proxy_loc_conf_t, upstream.no_cache), NULL },