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

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.

Thanks

Posted at Nginx Forum:

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…

-charlie

On Jul 9, 2011 10:58 PM, “sd” [email protected] 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.

Thanks

Posted at Nginx Forum: