templates/web.sssl.template.yml: Enable TLS session resumption
authorrata <rata@users.noreply.github.com>
Tue, 21 Apr 2015 00:57:08 +0000 (21:57 -0300)
committerrata <rata@users.noreply.github.com>
Tue, 21 Apr 2015 00:57:08 +0000 (21:57 -0300)
This is totally safe to enable, as the cache default is 5m, and should reduce CPU usage on the server

templates/web.ssl.template.yml

index e0a5b5a6f840774a39d464a50582208edef8cc20..16ba9e20b5b6b5a9370fa8227c5049be40dd83e1 100644 (file)
@@ -24,6 +24,7 @@ run:
        ssl_certificate_key /shared/ssl/ssl.key;
 
        ssl_session_tickets off;
+       ssl_session_cache shared:SSL:1m;
 
        # disable SPDY header compression (flawed in spdy < 4)
        spdy_headers_comp 0;