How to turn off gzip compression for SSL traffic
Paul N. Pace
paulnpace at gmail.com
Sun Aug 18 19:31:43 UTC 2013
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?
More information about the nginx
mailing list