aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_scgi_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-07-14 11:15:45 +0000
committerIgor Sysoev <igor@sysoev.ru>2010-07-14 11:15:45 +0000
commitf3870c66df0c79b6da45b2a49d113d45456c04d5 (patch)
tree4655598f33abe951f3552acc34f6485906137aff /src/http/modules/ngx_http_scgi_module.c
parent7fc29052e8e8e3c26b208813d0fbc3dd2090ca1d (diff)
downloadnginx-f3870c66df0c79b6da45b2a49d113d45456c04d5.tar.gz
nginx-f3870c66df0c79b6da45b2a49d113d45456c04d5.zip
use ngx_http_test_predicates(), ngx_http_set_predicate_slot()
delete ngx_http_cache(), ngx_http_no_cache_set_slot()
Diffstat (limited to 'src/http/modules/ngx_http_scgi_module.c')
-rw-r--r--src/http/modules/ngx_http_scgi_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_scgi_module.c b/src/http/modules/ngx_http_scgi_module.c
index c6d848e4b..11d3610a4 100644
--- a/src/http/modules/ngx_http_scgi_module.c
+++ b/src/http/modules/ngx_http_scgi_module.c
@@ -198,7 +198,7 @@ static ngx_command_t ngx_http_scgi_commands[] = {
{ ngx_string("scgi_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_scgi_loc_conf_t, upstream.no_cache),
NULL },