gzip compression not taken into account?

Thomas Love tomlove at gmail.com
Mon May 16 17:57:43 MSD 2011


That you've added those directives with no fix makes me more confident that
your proxy is simply not forwarding your Accept-Encoding: gzip header.

I'm not sure if nginx can log request headers, but if you have it configured
for PHP, you can request a simple test script:

var_dump($_SERVER["HTTP_ACCEPT_ENCODING"]);


Thomas




On 16 May 2011 13:29, jfix <nginx-forum at nginx.us> wrote:

> Hi Maxim, thanks for your input.
>
> I had, in the meantime, added the directives
>
> gzip_http_version 1.0
> gzip_vary on
>
>
> Does the fact that the response contains this header
>
> Via:1.1 localhost.localdomain
>
> mean that HTTP 1.1 is being used?  Having changed temporarily the
> gzip_proxied directive to
>
> gzip_proxied any
>
> hasn't changed a thing, unfortunately.  I will look in more detail at
> the gzip_proxied values and see how they are applicable or not.
>
> Thanks,
> Jakob.
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,197898,198433#msg-198433
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20110516/6adf7ed6/attachment.html>


More information about the nginx mailing list