mirror of
https://github.com/nginx/nginx.git
synced 2025-06-10 19:42:39 +08:00
gzip_disable compiled always the first pattern only
This commit is contained in:
parent
4db3b3e2c4
commit
31e6fc82cc
@ -4400,7 +4400,7 @@ ngx_http_gzip_disable(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
|
||||
return NGX_CONF_ERROR;
|
||||
}
|
||||
|
||||
rc.pattern = value[1];
|
||||
rc.pattern = value[i];
|
||||
rc.options = NGX_REGEX_CASELESS;
|
||||
|
||||
if (ngx_regex_compile(&rc) != NGX_OK) {
|
||||
|
Loading…
Reference in New Issue
Block a user