ビリビリⅤ
September 06, 2011 10:28AM
In fact, you can try to open php internal gzip compress function, you may
find it at php.ini, change this to On
zlib.output_compression = Off
and php will compress it auto before send to nginx.

MagicBear

2011/9/6 djeyewater <nginx-forum@nginx.us>

> Thanks for testing it MagicBear.
>
> Google Chrome reports content type header as:
> Content-Type:text/html; charset=UTF-8
>
> So still not sure why it is not working.
>
> I checked nginx changelog and couldn't see anything that looked to be
> pointing out that this was an issue in older versions of nginx. Still, I
> will try latest stable version and see if that makes any difference.
>
> Dave
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,214879,214885#msg-214885
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx not gzipping php output

djeyewater September 06, 2011 09:12AM

Re: nginx not gzipping php output

magicbear September 06, 2011 09:33AM

Re: nginx not gzipping php output

djeyewater September 06, 2011 09:55AM

Re: nginx not gzipping php output

djeyewater September 06, 2011 10:31AM

Re: nginx not gzipping php output

ビリビリⅤ September 06, 2011 10:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 161
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready