]> git.kaiwu.me - nginx.git/commitdiff
axe old definition fields
authorIgor Sysoev <igor@sysoev.ru>
Mon, 23 Mar 2009 15:57:57 +0000 (15:57 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 23 Mar 2009 15:57:57 +0000 (15:57 +0000)
src/http/modules/ngx_http_proxy_module.c

index f28ee9ae766f52c2c8a7a4f15267180b98671564..42e30077b0ad9711a5feac0901793952b8914893 100644 (file)
@@ -323,8 +323,8 @@ static ngx_command_t  ngx_http_proxy_commands[] = {
     { 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"),