Nginx配置SSL

server {
  listen 443 ssl;
   ssl_certificate cert/3652690.pem;  # 当前配置文件所在的路径。相对路劲
   ssl_certificate_key cert/3652690.key;
   ssl_session_timeout 5m;
   ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
   ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
   ssl_prefer_server_ciphers on;
   ssl_session_cache shared:SSL:10m;
}

发表评论

电子邮件地址不会被公开。 必填项已用*标注