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

sd nginx-forum at
Sun Jul 10 09:57:59 MSD 2011

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

More information about the nginx mailing list