How to get gzip_static to recognize compressed files not ending with .gz?

Charles Hornberger charles.hornberger at
Fri Jul 15 20:52:53 MSD 2011

Did you ever get anywhere with this? Just wondering because I'm stuck in the
same boat with a legacy grails app (and presumably with the same
uiperformance plugin) running behind nginx, and I'm about to begin
investigating solutions myself...


On Jul 9, 2011 10:58 PM, "sd" <nginx-forum at> wrote:

I'm working with a grails plugin that is a few years old and compresses
.js and .css files in compressed bundles the naming convention it
follows is *.gz.js and *.gz.css and doesn't have an option for
configuring this.

Is there a way to configure it so that Nginx will check these for
compression? As it is now the uncompression is not being applied to
these files.


Posted at Nginx Forum:,212049,212049#msg-212049

nginx mailing list
nginx at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list