Mercurial > hg > nginx
comparison src/http/modules/ngx_http_memcached_module.c @ 1788:f10228d7ea06
allow memached_pass inside "if" block
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 27 Dec 2007 14:19:30 +0000 |
parents | a37fe5ceacc4 |
children | f2953601ed3c |
comparison
equal
deleted
inserted
replaced
1787:a37fe5ceacc4 | 1788:f10228d7ea06 |
---|---|
56 | 56 |
57 | 57 |
58 static ngx_command_t ngx_http_memcached_commands[] = { | 58 static ngx_command_t ngx_http_memcached_commands[] = { |
59 | 59 |
60 { ngx_string("memcached_pass"), | 60 { ngx_string("memcached_pass"), |
61 NGX_HTTP_LOC_CONF|NGX_CONF_TAKE1, | 61 NGX_HTTP_LOC_CONF|NGX_HTTP_LIF_CONF|NGX_CONF_TAKE1, |
62 ngx_http_memcached_pass, | 62 ngx_http_memcached_pass, |
63 NGX_HTTP_LOC_CONF_OFFSET, | 63 NGX_HTTP_LOC_CONF_OFFSET, |
64 0, | 64 0, |
65 NULL }, | 65 NULL }, |
66 | 66 |