gzip does not work if Content-Type contain semicolon?

Piotr Karbowski jabberuser at gmail.com
Wed Oct 2 15:07:01 UTC 2013


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.

Tested version 1.5.4.

-- Piotr.



More information about the nginx mailing list