Nginx 配置 SSL

ssl  on;
ssl_certificate      /root/server.crt;
ssl_certificate_key  /root/server.key;
ssl_protocols  TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers EECDH+CHACHA20:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5;
ssl_prefer_server_ciphers on;
ssl_session_cache shared:SSL:30m;
ssl_session_timeout 30m;