nginx配置ssl证书
server {
listen 443 ssl;
server_name www.theorydance.com;
# 必填的两个属性ssl_certificate和ssl_certificate_key
ssl_certificate /etc/nginx/ca/xxxxxxx.crt;
ssl_certificate_key /etc/nginx/ca/xxxxxxx.key;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location / {
proxy_pass http://127.0.0.1;
}
}