changeset 2596:9a265cd00ba5

axe old definition fields
author Igor Sysoev <igor@sysoev.ru>
date Mon, 23 Mar 2009 15:57:57 +0000
parents 21337b5bd057
children 86967878cd76
files src/http/modules/ngx_http_proxy_module.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/modules/ngx_http_proxy_module.c
+++ b/src/http/modules/ngx_http_proxy_module.c
@@ -323,8 +323,8 @@ static ngx_command_t  ngx_http_proxy_com
     { ngx_string("proxy_cache"),
       NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_HTTP_LOC_CONF|NGX_CONF_FLAG,
       ngx_http_proxy_cache,
-      NGX_HTTP_LOC_CONF_OFFSET,
-      offsetof(ngx_http_proxy_loc_conf_t, upstream.cache),
+      0,
+      0,
       NULL },
 
     { ngx_string("proxy_cache_path"),