SSL 证书控制台 中选择需要安装的证书并单击下载 下载并解压后将stellardiary.site_bundle.crt和stellardiary.site.key上传至/etc/nginx/conf.d/ssl目录下 编辑/etc/nginx/conf.d/default.conf如下 通过执行以下命令验证配置文件问题 nginx -t 通过执行以下命令重载 Nginx nginx -s reload 重载成功,即可使用域名进行访问,如下图所示即为ssl配置完成
SSL 证书控制台 中选择需要安装的证书并单击下载 下载并解压后将stellardiary.site_bundle.crt和stellardiary.site.key上传至/etc/nginx/conf.d/ssl目录下 编辑/etc/nginx/conf.d/default.conf如下 通过执行以下命令验证配置文件问题 nginx -t 通过执行以下命令重载 Nginx nginx -s reload 重载成功,即可使用域名进行访问,如下图所示即为ssl配置完成