aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_proxy_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-03-23 16:40:11 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-03-23 16:40:11 +0000
commit0ded9db38328a39a605a46385dc1b97dae427b28 (patch)
tree69731e4c9063f9130d41399c7e5c756831ac5692 /src/http/modules/ngx_http_proxy_module.c
parent64416aa32173fd6509752ef2a8d0c0e77da13049 (diff)
downloadnginx-0ded9db38328a39a605a46385dc1b97dae427b28.tar.gz
nginx-0ded9db38328a39a605a46385dc1b97dae427b28.zip
fix the previous commit
Diffstat (limited to 'src/http/modules/ngx_http_proxy_module.c')
-rw-r--r--src/http/modules/ngx_http_proxy_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c
index 42e30077b..680d77a58 100644
--- 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_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 },