nginx not gzipping php output

magicbear nginx-forum at
Tue Sep 6 13:33:49 UTC 2011

Check your PHP output header for "Content-Type", if it is not text/html
and one of the gzip_types, it won't be compress. Your config I have
tested on my server, it will compress normally.


Posted at Nginx Forum:,214879,214881#msg-214881

More information about the nginx mailing list