diff src/http/modules/ngx_http_uwsgi_module.c @ 3693:e3bcc2f4c418

fix scgi_no_cache and uwsgi_no_cache initialization
author Igor Sysoev <igor@sysoev.ru>
date Wed, 14 Jul 2010 11:29:19 +0000
parents 045ea40cbfe8
children b0a0686a85bb
line wrap: on
line diff
--- a/src/http/modules/ngx_http_uwsgi_module.c
+++ b/src/http/modules/ngx_http_uwsgi_module.c
@@ -1068,6 +1068,7 @@ ngx_http_uwsgi_create_loc_conf(ngx_conf_
 #if (NGX_HTTP_CACHE)
     conf->upstream.cache = NGX_CONF_UNSET_PTR;
     conf->upstream.cache_min_uses = NGX_CONF_UNSET_UINT;
+    conf->upstream.no_cache = NGX_CONF_UNSET_PTR;
     conf->upstream.cache_valid = NGX_CONF_UNSET_PTR;
 #endif