Thomas Love
May 16, 2011 10:00AM
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@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@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

gzip compression not taken into account?

jfix May 13, 2011 04:09PM

Re: gzip compression not taken into account?

Dan Trainor May 13, 2011 04:22PM

Re: gzip compression not taken into account?

Jocelyn May 13, 2011 07:02PM

Re: gzip compression not taken into account?

jfix May 14, 2011 12:22PM

Re: gzip compression not taken into account?

jfix May 14, 2011 05:51PM

Re: gzip compression not taken into account?

Thomas Love May 14, 2011 05:38PM

Re: gzip compression not taken into account?

Maxim Dounin May 16, 2011 07:10AM

Re: gzip compression not taken into account?

jfix May 16, 2011 07:29AM

Re: gzip compression not taken into account?

Thomas Love May 16, 2011 10:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 104
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