changeset 2597:86967878cd76

fix the previous commit
author Igor Sysoev <igor@sysoev.ru>
date Mon, 23 Mar 2009 16:40:11 +0000
parents 9a265cd00ba5
children 87e739049e93
files src/http/modules/ngx_http_proxy_module.c
diffstat 1 files changed, 1 insertions(+), 1 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,7 +323,7 @@ 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,
-      0,
+      NGX_HTTP_LOC_CONF_OFFSET,
       0,
       NULL },