# HG changeset patch # User Igor Sysoev # Date 1237823877 0 # Node ID 9a265cd00ba568bc42ca86e80d434d7557669af9 # Parent 21337b5bd0575ff49f0898941c6461ebc0013612 axe old definition fields diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c --- 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"),