gunzip on debian
semenukha at gmail.com
Mon Dec 22 20:43:44 UTC 2014
On Monday, December 22, 2014 11:59:48 AM Jeroen Ooms wrote:
> I would like to use the gunzip module to serve cached, gzipped
> responses to clients that do not support gzip. I am running an Ubuntu
> 14.04 server. According to this post  the nginx-extras package
> includes support for gunzip, but when I add the 'gunzip on;' directive
> to my config I get an error that the directive is unknown.
> Is the the gunzip module is available from another nginx deb package
> on Debian/Ubuntu? My stack needs to work with the standard builds of
> nginx that are included with Debian, so I can't build from source.
> If not, what is the best alternative to deal with Vary:
> Accept-Encoding in nginx? My back-end only uses two variations: either
> "Content-Encoding: gzip" or no Content-Encoding at all. Is there a
> 'smart' value I can add to my proxy_cache_key so that it will
> normalize all of the possible variations of 'Accept-Encoding'
> containing 'gzip' ?
>  http://www.dotdeb.org/2013/04/28/nginx-1-4-0/
Looks like Gunzip support is not enabled for any standard Debian package:
$ apt-cache search gunzip
$ cat /etc/debian_version
>From your question I understand that you want to unify caching for requests
with and without Gzip support. AFAIK, Gunzip is not relevant for this task.
This might be useful:
More information about the nginx