From 449045f982d51c18184dc064efba83e69a9824bf Mon Sep 17 00:00:00 2001 From: David Sanders Date: Sun, 13 May 2018 06:06:44 -0700 Subject: [PATCH] Fix setting 'gzip_proxied' when applying gzip settings (#1558) --- src/ngx_gzip_setter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ngx_gzip_setter.cc b/src/ngx_gzip_setter.cc index 68f6a0ac4..66699ecf8 100644 --- a/src/ngx_gzip_setter.cc +++ b/src/ngx_gzip_setter.cc @@ -313,7 +313,7 @@ void NgxGZipSetter::EnableGZipForLocation(ngx_conf_t* cf) { } if (gzip_proxied_command_.command_) { 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