SSL slow on nginx

khav nginx-forum at
Sat Jun 28 05:14:16 UTC 2014

For my site , ssl seems to be slow even though i got A+ on sslabs
(implemented ocsp stapling, Forward Secrecy , spdy) 

Here is the result from pingdom!/cc2MfH/

Notice the high connect time and high ssl negociation time 

Here is my nginx conf 

server {
    listen       443 spdy default_server; #Change to 443 when SSL is on
	ssl on;
	ssl_certificate    /etc/ssl/; #(or .pem) 
    ssl_certificate_key    /etc/ssl/;
	ssl_client_certificate /etc/ssl/intermediate.crt;
	ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
    ssl_prefer_server_ciphers on;
	ssl_buffer_size 8k;
    ssl_session_cache shared:SSL:10m;
	ssl_dhparam /etc/ssl/dhparam.pem;
    ssl_session_timeout 10m;
	ssl_stapling on;
    ssl_stapling_verify on;
	ssl_trusted_certificate  /etc/ssl/trustchain.crt;
	add_header Strict-Transport-Security "max-age=31536000;
  #rest of config goes here 

Posted at Nginx Forum:,251277,251277#msg-251277

More information about the nginx mailing list