Fix setting 'gzip_proxied' when applying gzip settings (#1558)
This commit is contained in:
committed by
Otto van der Schaaf
parent
98d353ebf4
commit
449045f982
@@ -313,7 +313,7 @@ void NgxGZipSetter::EnableGZipForLocation(ngx_conf_t* cf) {
|
|||||||
}
|
}
|
||||||
if (gzip_proxied_command_.command_) {
|
if (gzip_proxied_command_.command_) {
|
||||||
SetNgxConfBitmask(
|
SetNgxConfBitmask(
|
||||||
cf, &gzip_http_version_command_, NGX_HTTP_GZIP_PROXIED_ANY);
|
cf, &gzip_proxied_command_, NGX_HTTP_GZIP_PROXIED_ANY);
|
||||||
}
|
}
|
||||||
|
|
||||||
// This is actually the most prone to future API changes, because gzip_types
|
// This is actually the most prone to future API changes, because gzip_types
|
||||||
|
|||||||
Reference in New Issue
Block a user