Mercurial > hg > nginx
changeset 3753:9da3a04fc845
gzip_disable compiled always the first pattern only
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 02 Sep 2010 14:01:58 +0000 |
parents | 6cde13492433 |
children | 5f58badd13ed |
files | src/http/ngx_http_core_module.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c Thu Sep 02 13:54:28 2010 +0000 +++ b/src/http/ngx_http_core_module.c Thu Sep 02 14:01:58 2010 +0000 @@ -4400,7 +4400,7 @@ return NGX_CONF_ERROR; } - rc.pattern = value[1]; + rc.pattern = value[i]; rc.options = NGX_REGEX_CASELESS; if (ngx_regex_compile(&rc) != NGX_OK) {