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;
}
server {
listen 80;
server_name blog.itsse.cn;
rewrite ^/(.*)$ https://blog.itsse.cn/$1 permanent;
}