Welcome! Log In Create A New Profile

Advanced

Re: Bug in supporting Quality zero (negate) parameter in Accept-Encoding

António P. P. Almeida
July 29, 2011 03:30PM
On 29 Jul 2011 20h11 WEST, nginx-forum@nginx.us wrote:

>> What really surprises me WHY they send this header at all ?
>
> You would assume that a CDN would clean/normalize the requests to
> the backend, and not use the Q qualifiers at all. But maybe in some
> cases they just pass the accept-encoding header which they receive
> from the client.
>
> In this case I tracked it down as a large corporation behind a
> Microsoft ISA firewall, which could not access our css/js. They
> were accessing the cdn with the origin being our nginx servers. I
> can't comment on the choices that microsoft firewalls make in their
> request headers ( or the companies that use them, or how they
> configure them ), but it appears that they do follow the RFC in this
> case.
>
> In order to guarantee correct delivery via nginx, is the only
> workaround right now to disable compression on all our css/js
> content? Or can you think of something else?

If you have their IP range you can try using the Geo module,
http://wiki.nginx.org/HttpGeoModule, like this:

geo $gzip_state {
default on;
xxx.yyy.zzz.uuu/nm off; # their IP range...those using ISA proxy
}


server {
(...)
gzip $gzip_state;
(...)
}

--- appa

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Bug in supporting Quality zero (negate) parameter in Accept-Encoding

Radek Burkat July 29, 2011 02:04PM

Re: Bug in supporting Quality zero (negate) parameter in Accept-Encoding

Igor Sysoev July 29, 2011 02:08PM

Re: Bug in supporting Quality zero (negate) parameter in Accept-Encoding

rburkat July 29, 2011 03:11PM

Re: Bug in supporting Quality zero (negate) parameter in Accept-Encoding

rburkat July 29, 2011 03:44PM

Re: Bug in supporting Quality zero (negate) parameter in Accept-Encoding

António P. P. Almeida July 29, 2011 03:30PM

Re: Bug in supporting Quality zero (negate) parameter in Accept-Encoding

Igor Sysoev July 31, 2011 01:40PM

Re: Bug in supporting Quality zero (negate) parameter in Accept-Encoding

António P. P. Almeida July 29, 2011 04:24PM

Re: Bug in supporting Quality zero (negate) parameter in Accept-Encoding

Igor Sysoev July 31, 2011 01:42PM

Re: Bug in supporting Quality zero (negate) parameter in Accept-Encoding

rburkat August 03, 2011 02:17PM

Re: Bug in supporting Quality zero (negate) parameter in Accept-Encoding

Igor Sysoev August 04, 2011 11:06AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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