gzip_disable compiled always the first pattern only
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 53ea3f1..53cbf5f 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c
@@ -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) {