nginx-https接口
server { listen 443 ssl; server_name www.xxx.com xxx.com; root html/hengyueh; index index.html index.htm; ssl_certificate name.pem; #将domain name.pem替换成您证书的文件名。 ssl_certificate_key name.key; #将domain name.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; location / { proxy_pass http://127.0.0.1:3088;//node服务端口 } }