remove SPDY due to buffer overflow
authorSam <sam.saffron@gmail.com>
Tue, 18 Mar 2014 22:59:44 +0000 (09:59 +1100)
committerSam <sam.saffron@gmail.com>
Tue, 18 Mar 2014 22:59:44 +0000 (09:59 +1100)
templates/web.ssl.template.yml

index 3b180fe5e2027e426499b2e26e746b15490c91f1..b18f9381af87f912cd4e3960921007ba36dd1362 100644 (file)
@@ -12,7 +12,8 @@ run:
      filename: "/etc/nginx/conf.d/discourse.conf"
      from: /listen 80;\s+gzip on;/m
      to: |
-       listen 443 ssl spdy;
+       # No SPDY till nginx 1.4.7 or up (buffer overflow)
+       listen 443 ssl;
        spdy_keepalive_timeout 300; # up from 180 secs default
 
        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
@@ -27,7 +28,7 @@ run:
        #ssl_session_tickets off;
 
        # enable SPDY header compression
-       spdy_headers_comp 6;
+       spdy_headers_comp 6;
 
        # remember the certificate for a year and automatically connect to HTTPS
        add_header Strict-Transport-Security 'max-age=31536000; includeSubDomains';