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访问还是没有用,求帮助怎么解决
...全文
489 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
大V小伙伴 2015-11-27
  • 打赏
  • 举报
回复
openss安装了没??

6,185

社区成员

发帖
与我相关
我的任务
社区描述
windows网络管理与配置
社区管理员
  • 网络管理与配置社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧