Re: How to turn off gzip compression for SSL traffic

2013-08-18 Thread howard chen
Hi, Thanks for the insight. Finally I solved by: if ($scheme = https) { gzip off; } Separating into two servers require to duplicate the rules like rewrite, which is cumbersome. Thanks anyway On Sat, Aug 17, 2013 at 8:43 PM, Igor Sysoev wrote: > On Aug 17, 2013, at 8:59 , how

How to turn off gzip compression for SSL traffic

2013-08-16 Thread howard chen
Hi, As you know, due the breach attack (http://breachattack.com), HTTP compression is no longer safe (I assume nginx don't use SSL compression by default?), so we should disable it. Now, We are using config like the following: gzip on; .. server { listen 127.0.0.1:80 default

Update nginx with Ubuntu PPA

2013-07-22 Thread howard chen
I am upgrading nginx to latest 1.4.1 using PPA. repository. 1. After install, do I need to restart it manually, or it is restarted automatically? 2. Is reload enough for the nginx upgrade? Or do I need to restart or stop/start? Thanks. ___ nginx mailing