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

sd nginx-forum at nginx.us
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.

Thanks

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,212049,212049#msg-212049




More information about the nginx mailing list