diff src/http/modules/ngx_http_scgi_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 e3bcc2f4c418
line wrap: on
line diff
--- 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_comma
 
     { 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 },