Non standard mime types are not recognized by gzip_types?
mdounin at mdounin.ru
Tue Aug 17 02:50:04 MSD 2010
On Mon, Aug 16, 2010 at 04:55:30PM -0400, lo wrote:
> nginx/0.7.66 on Debian Stable
> We have an application that sends the content type:
> Content-Type: application/vnd.companyname.product;version=1.0
> We have nginx as a proxy to these application servers. We would like
> nginx to gzip this data. We have tried the following for gzip_types:
> gzip_types application/vnd application/vnd.companyname
> (nginx was complaining of the unexpected ; without quotes or escape)
> However, this content type has not been gzip'd per Content-Encoding and
> size. gzip works correctly for types text/html, application/json, and
> so on.
> Are we missing something or must we wait for 0.8.x for wildcard matching
> with gzip_types?
works fine here in 0.7.66, most likely you missed something.
More information about the nginx