How to turn off gzip compression for SSL traffic
Paul N. Pace
paulnpace at gmail.com
Sun Aug 18 19:37:22 UTC 2013
On Sun, Aug 18, 2013 at 12:31 PM, Paul N. Pace <paulnpace at gmail.com> wrote:
> Igor said:
>>You have to split the dual mode server section into two server server sections and set "gzip off"
>>SSL-enabled on. There is no way to disable gzip in dual mode server section, but if you really
>>worry about security in general the server sections should be different.
> Adie said:
>>This is why Igor recommends you to split the server config for SSL and non-SSL, and put 'gzip
>>on' only at the non-SSL one.
> So I can be clear, I have 'gzip_vary on' in my http block and in
> subsequent HTTPS blocks (I separate HTTP from HTTPS) I have
> 'gzip_vary' off. Am I doing it right?
'gzip_vary' was supposed to be 'gzip'
More information about the nginx