ssi, reverse-proxy and compression

Olivier Bonvalet mailinglist at daevel.fr
Wed Jan 28 15:29:16 MSK 2009


Perfect ;) Thanks !

Olivier

Igor Sysoev a écrit :
> On Wed, Jan 28, 2009 at 01:07:52PM +0100, Olivier B. wrote:
>
>   
>> Hello,
>>
>> we're using ssi with reverse-proxy on NginX 0.6.34, but have a problem 
>> when contents is compressed on the fly by the backend.
>> As we can't disable this on the backend, we would like setup NginX to 
>> don't send the "Accept-Encoding" header to it, or to decompress this 
>> contents before processing ssi tags.
>>
>> I don't find how to set up that, so actually I simply replace the 
>> Accept-Encoding this way :
>>    proxy_set_header Accept-Encoding none
>>
>> Is there a "better" way to do that ?
>>     
>
>     proxy_set_header Accept-Encoding "";
>
>
>   






More information about the nginx mailing list