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 [1] 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' ? > > > > [1] 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 <nothing relevant> $ cat /etc/debian_version jessie/sid >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: http://forum.nginx.org/read.php?2,222382,222436 -- Best regards, Styopa Semenukha. _______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
