allow memached_pass inside "if" block

This commit is contained in:
Igor Sysoev 2007-12-27 14:19:30 +00:00
parent 9b1d4c15a6
commit 5a40e9518e

View File

@ -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,