aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-12-27 14:19:30 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-12-27 14:19:30 +0000
commit5a40e9518e1284dbff0f9b6cff61ab6a7a9a27be (patch)
tree37028b10cabbf54eb661eb89c27fb0edd7e246d7
parent9b1d4c15a699d26b24c56238cfcc51af2399987b (diff)
downloadnginx-5a40e9518e1284dbff0f9b6cff61ab6a7a9a27be.tar.gz
nginx-5a40e9518e1284dbff0f9b6cff61ab6a7a9a27be.zip
allow memached_pass inside "if" block
-rw-r--r--src/http/modules/ngx_http_memcached_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_memcached_module.c b/src/http/modules/ngx_http_memcached_module.c
index 76a37e169..1f156cd42 100644
--- a/src/http/modules/ngx_http_memcached_module.c
+++ b/src/http/modules/ngx_http_memcached_module.c
@@ -58,7 +58,7 @@ static ngx_conf_bitmask_t ngx_http_memcached_next_upstream_masks[] = {
static ngx_command_t ngx_http_memcached_commands[] = {
{ ngx_string("memcached_pass"),
- NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1,
+ NGX_HTTP_LOC_CONF|NGX_HTTP_LIF_CONF|NGX_CONF_TAKE1,
ngx_http_memcached_pass,
NGX_HTTP_LOC_CONF_OFFSET,
0,