Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Commit 449045f

Browse files
dsanders11oschaaf
authored andcommitted
Fix setting 'gzip_proxied' when applying gzip settings (#1558)
1 parent 98d353e commit 449045f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngx_gzip_setter.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ void NgxGZipSetter::EnableGZipForLocation(ngx_conf_t* cf) {
313313
}
314314
if (gzip_proxied_command_.command_) {
315315
SetNgxConfBitmask(
316-
cf, &gzip_http_version_command_, NGX_HTTP_GZIP_PROXIED_ANY);
316+
cf, &gzip_proxied_command_, NGX_HTTP_GZIP_PROXIED_ANY);
317317
}
318318

319319
// This is actually the most prone to future API changes, because gzip_types

0 commit comments

Comments
 (0)