mirror of
https://github.com/nginx/nginx.git
synced 2026-05-13 09:36:42 +00:00
gzip_disable compiled always the first pattern only
This commit is contained in:
parent
4db3b3e2c4
commit
31e6fc82cc
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue