Nginx(https配置)
server {listen 443 ssl;
server_name www.xxx.cn localhost;#xxx填对应域名
ssl_certificate xxx.crt; #xxx对应证书
ssl_certificate_keyxxx.key; #xxx对应证书秘钥
ssl_session_cache shared:SSL:1m;
ssl_session_timeout5m;
ssl_ciphersHIGH:!aNULL:!MD5;
ssl_prefer_server_cipherson;
location / {
root html;
indexindex.html index.htm;
}
页:
[1]