]> git.kaiwu.me - nginx.git/commitdiff
fix the previous commit
authorIgor Sysoev <igor@sysoev.ru>
Mon, 23 Mar 2009 16:40:11 +0000 (16:40 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 23 Mar 2009 16:40:11 +0000 (16:40 +0000)
src/http/modules/ngx_http_proxy_module.c

index 42e30077b0ad9711a5feac0901793952b8914893..680d77a58631bb82b0ec0b5cdc54ed5b188ef286 100644 (file)
@@ -323,7 +323,7 @@ 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,
-      0,
+      NGX_HTTP_LOC_CONF_OFFSET,
       0,
       NULL },