gzip does not work if Content-Type contain semicolon?

Maxim Dounin mdounin at mdounin.ru
Wed Oct 2 15:13:00 UTC 2013


On Wed, Oct 02, 2013 at 05:07:01PM +0200, Piotr Karbowski wrote:

> Hi,
> I have some serious troubles getting gzip to compress text/html and
> text/plain content.
> I've put a nginx as revproxy to Jenkins. Jenkins return headers like
> "Content-Type: text/plain;charset=UTF-8" and "Content-Type:
> text/html;charset=UTF-8". Even with all fancy stuff like enabling
> gzip for 1.0 proto, gzip_proxied any and so on, no output is
> compressed.

Do you have gzip_types properly set?


Maxim Dounin

More information about the nginx mailing list