nginx服务器上怎么安装https证书配置
叶子猫丶 2015-07-13 04:04:33 如题,nginx怎么安装https证书,我在nginx.conf 文件里配置了
server{
listen 443;
server_name localhost;
ssl on;
ssl_certificate D:/nginx-1.7.4/conf/1_xxxx_bundle.crt;
ssl_certificate_key D:/nginx-1.7.4/conf/2_xxxx.com.key;
ssl_session_timeout 5m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers ALL:!ADH:!EXPORT56:-RC4+RSA:HIGH:+MEDIUM:!EXP;
ssl_prefer_server_ciphers on;
location / {
root html;
index index.html index.htm;
}
}
重启后没有输入https访问还是没有用,求帮助怎么解决