Revisiting the long-overdue "TODO always gunzip" in ngx_http_gunzip_filter_module.c

J.R. themadbeaker at
Mon Oct 21 17:49:38 UTC 2019

> Also note that if you really need to force gunziping for some reason,
> you can do so out of the box by using an additional local proxying
> layer with appropriate "proxy_set_header Accept-Encoding".

Yes, that is how I had it configured before patching, all content
between nginx and the upstream servers was uncompressed using the
directive you mentioned, but the goal was to have the data between the
two servers compressed to reduce network traffic.

Yes, I also read your comments from 2013, but after looking over the
current gunzip module code, I can't find any flag that another module
could set to force decompression? Or did I miss it buried somewhere?

Thanks for the quick response!


More information about the nginx mailing list