添加链接
注册
登录
link之家
链接快照平台
输入网页链接,自动生成快照
标签化管理网页链接
相关文章推荐
有胆有识的鼠标
·
Nexus搭建npm私库(角色管理、上传脚本 ...
·
4 月前
·
刚失恋的黄瓜
·
c++ - C26495 Variable ...
·
1 年前
·
豁达的枕头
·
Ruby中整型和字符型的类型转化_铭霏的博客 ...
·
1 年前
·
听话的香菜
·
一、历届本科生、专科生名单-地理与旅游学院
·
1 年前
·
玩篮球的苹果
·
使用 ExoPlayer 实现 ...
·
1 年前
·
link之家
›
SSL 证书 Nginx 服务器 SSL 证书安装部署-证书安装-文档中心
nginx
ssl
域名绑定
域名结构
https://cloud.tencent.com/document/product/400/35244
鬼畜的开水瓶
1 年前
{"list":[{"id":48476,"title":"产品动态","type":"page","docType":"default","pdfUrl":"https://main.qcloudimg.com/raw/document/product/pdf/400_48476_cn.pdf","link":"/document/product/400/48476"},{"id":47052,"title":"产品公告","type":"directory","docType":"default","pdfUrl":"https://main.qcloudimg.com/raw/document/product/pdf/400_47052_cn.pdf","children":[{"id":88702,"title":"关于免费证书权益升级通知","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/88702"},{"id":87931,"title":"【子账号用户必看】关于腾讯云SSL接口新增鉴权的通知","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/87931"},{"id":85014,"title":"关于《免费证书扩容包》产品调整的通知","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/85014"},{"id":83589,"title":"关于DigiCert品牌下SSL证书售价调整通知","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/83589"},{"id":68816,"title":"TrustAsia 品牌根证书变更通知","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/68816"},{"id":57440,"title":"SSL 证书域名验证策略变更通知","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/57440"},{"id":54229,"title":"SSL 证书与证书监控 SSLPod 联合说明","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/54229"},{"id":52963,"title":"多年期 SSL 证书与自动审核更新说明","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/52963"},{"id":50458,"title":"腾讯云 SSL 证书控制台更新说明","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/50458"},{"id":47401,"title":"腾讯云即日起支持 DNSPod 品牌国密标准(SM2)SSL 证书购买通知","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/47401"},{"id":47388,"title":"关于 CA 机构于2020年9月1日起停止签发为期两年 SSL 证书的通知","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/47388"},{"id":44057,"title":"关于 Symantec SSL 证书品牌名于2020年4月30日停止使用的通知","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/44057"},{"id":47389,"title":"关于私钥泄露导致被厂商吊销 SSL 证书的情况说明","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/47389"},{"id":47390,"title":"关于免费域名型(DV)SSL 证书的申请额度限制通知","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/47390"},{"id":62140,"title":"关于 Let's Encrypt 根证书将于2021年9月30号过期说明","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/62140"}],"link":"/document/product/400/47052"},{"id":4140,"title":"产品简介","type":"directory","docType":"default","pdfUrl":"https://main.qcloudimg.com/raw/document/product/pdf/400_4140_cn.pdf","children":[{"id":7572,"title":"产品概述","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/7572"},{"id":7574,"title":"腾讯云SSL证书介绍","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/7574"},{"id":7573,"title":"腾讯云SSL证书产品优势","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/7573"},{"id":8639,"title":"腾讯云SSL证书浏览器兼容性测试报告","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/8639"},{"id":52953,"title":"多年期 SSL 证书介绍","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/52953"},{"id":89671,"title":"腾讯云国密方案介绍","type":"directory","docType":"default","pdfUrl":"","children":[{"id":61745,"title":"政企国密解决方案介绍","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/61745"},{"id":47407,"title":"DNSPod 品牌国密标准(SM2)SSL 证书基本概念","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/47407"},{"id":47408,"title":"DNSPod 品牌国密标准(SM2)SSL 证书浏览器问题","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/47408"}],"link":"/document/product/400/89671"},{"id":46886,"title":"自动化管理方案","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/46886"}],"link":"/document/product/400/4140"},{"id":7993,"title":"购买指南","type":"directory","docType":"price","pdfUrl":"https://main.qcloudimg.com/raw/document/product/pdf/400_7993_cn.pdf","children":[{"id":7994,"title":"价格总览","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/7994"},{"id":7995,"title":"SSL 证书购买流程","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/7995"},{"id":61352,"title":"SSL 证书续期流程","type":"directory","docType":"default","pdfUrl":"","children":[{"id":13918,"title":"正式证书续期流程","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/13918"},{"id":61353,"title":"免费证书续期流程","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/61353"}],"link":"/document/product/400/61352"},{"id":56335,"title":"SSL 证书退款流程","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/56335"},{"id":67327,"title":"一键 HTTPS 套餐","type":"directory","docType":"default","pdfUrl":"","children":[{"id":67309,"title":"一键 HTTPS 套餐概述","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/67309"},{"id":67310,"title":"一键 HTTPS 升级流程","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/67310"},{"id":67311,"title":"一键 HTTPS 续费流程","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/67311"}],"link":"/document/product/400/67327"},{"id":55162,"title":"SSL证书权益点包","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/55162"}],"link":"/document/product/400/7993"},{"id":53528,"title":"快速入门","type":"page","docType":"default","pdfUrl":"https://main.qcloudimg.com/raw/document/product/pdf/400_53528_cn.pdf","link":"/document/product/400/53528"},{"id":43473,"title":"证书申请","type":"directory","docType":"default","pdfUrl":"https://main.qcloudimg.com/raw/document/product/pdf/400_43473_cn.pdf","children":[{"id":47392,"title":"正式证书提交资料流程","type":"directory","docType":"default","pdfUrl":"","children":[{"id":47285,"title":"DV(域名型)SSL 证书提交流程","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/47285"},{"id":10257,"title":"OV(企业型) 与 EV(企业增强型) SSL 证书材料提交流程","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/10257"},{"id":47284,"title":"Wotrus 品牌 OV 与 EV 型 SSL 证书提交流程","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/47284"},{"id":47283,"title":"DNSPod 品牌国密标准(SM2)OV 与 EV 型 SSL 证书材料提交流程","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/47283"}],"link":"/document/product/400/47392"},{"id":89077,"title":"免费 SSL 证书使用指南","type":"directory","docType":"default","pdfUrl":"","children":[{"id":89868,"title":"免费 SSL 证书概述","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/89868"},{"id":6814,"title":"免费 SSL 证书申请流程","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/6814"}],"link":"/document/product/400/89077"},{"id":50258,"title":"通过 API 接口申请证书","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/50258"}],"link":"/document/product/400/43473"},{"id":54496,"title":"域名验证","type":"directory","docType":"default","pdfUrl":"https://main.qcloudimg.com/raw/document/product/pdf/400_54496_cn.pdf","children":[{"id":4142,"title":"如何选择域名验证方式","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/4142"},{"id":54499,"title":"自动添加 DNS","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/54499"},{"id":54500,"title":"DNS 验证","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/54500"},{"id":54501,"title":"文件验证","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/54501"},{"id":54502,"title":"自动 DNS 验证","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/54502"},{"id":54503,"title":"自动文件验证","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/54503"},{"id":52820,"title":"自动文件验证配置指南","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/52820"},{"id":6760,"title":"验证结果排查指引","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/6760"},{"id":65409,"title":"常见问题","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/65409"}],"link":"/document/product/400/54496"},{"id":54497,"title":"证书安装","type":"directory","docType":"default","pdfUrl":"https://main.qcloudimg.com/raw/document/product/pdf/400_54497_cn.pdf","children":[{"id":47053,"title":"SSL 证书安装部署至云服务","type":"directory","docType":"default","pdfUrl":"","children":[{"id":83538,"title":"SSL证书如何自动部署到腾讯云云资源","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/83538"},{"id":90636,"title":"安装部署 SSL 证书到对象存储(COS)指引","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/90636"},{"id":6502,"title":"安装部署 SSL 证书到负载均衡(CLB)指引","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/6502"},{"id":51804,"title":"安装部署 SSL 证书到内容分发网络(CDN)指引 ","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/51804"},{"id":51803,"title":"安装部署 SSL 证书到 Web 应用防火墙(WAF)指引","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/51803"},{"id":56290,"title":"安装部署 SSL 证书到 DDoS 防护指引","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/56290"},{"id":56291,"title":"安装部署 SSL 证书到云直播(CSS)指引","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/56291"},{"id":67651,"title":"安装部署 SSL 证书到容器服务(Ingress)指引","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/67651"},{"id":90687,"title":"安装部署 SSL 证书到轻量应用服务器( LightHouse)指引","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/90687"},{"id":93081,"title":"安装部署 SSL 证书到API网关指引","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/93081"}],"link":"/document/product/400/47053"},{"id":4143,"title":"如何选择 SSL 证书安装部署类型?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/4143"},{"id":47413,"title":"国际标准 SSL 证书安装","type":"directory","docType":"default","pdfUrl":"","children":[{"id":50874,"title":"宝塔面板 SSL 证书安装部署","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/50874"},{"id":35243,"title":"Apache 服务器 SSL 证书安装部署(Linux)","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/35243"},{"id":61400,"title":"Apache 服务器 SSL 证书安装部署(Windows)","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/61400"},{"id":35244,"title":"Nginx 服务器 SSL 证书安装部署","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/35244"},{"id":94492,"title":"Nginx 服务器 SSL 证书安装部署(Windows)","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/94492"},{"id":35224,"title":"Tomcat 服务器 SSL 证书安装部署(JKS 格式)(Linux)","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/35224"},{"id":67502,"title":"Tomcat 服务器 SSL 证书安装部署(JKS 格式)(Windows)","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/67502"},{"id":65706,"title":"Tomcat 服务器 SSL 证书安装部署(PFX 格式)","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/65706"},{"id":44759,"title":"GlassFish 服务器 SSL 证书安装部署","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/44759"},{"id":44760,"title":"JBoss 服务器 SSL 证书安装部署","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/44760"},{"id":44761,"title":"Jetty 服务器 SSL 证书安装部署","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/44761"},{"id":92983,"title":"Spring Boot 安装SSL 证书","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/92983"},{"id":35225,"title":"IIS 服务器 SSL 证书安装部署","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/35225"},{"id":47358,"title":"Weblogic 服务器 SSL 证书安装部署","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/47358"},{"id":67038,"title":"SSL 根证书下载","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/67038"}],"link":"/document/product/400/47413"},{"id":47415,"title":"国密标准(SM2)SSL 证书安装","type":"directory","docType":"default","pdfUrl":"","children":[{"id":81320,"title":"Wotrus","type":"directory","docType":"default","pdfUrl":"","children":[{"id":47359,"title":"Apache 服务器国密 SSL 证书(Wotrus)安装部署","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/47359"},{"id":47360,"title":"Nginx For Linux 国密 SSL 证书(Wotrus)安装部署","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/47360"},{"id":47361,"title":"Nginx For Windows 国密 SSL 证书(Wotrus)安装部署","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/47361"}],"link":"/document/product/400/81320"},{"id":81321,"title":"DNSPod","type":"directory","docType":"default","pdfUrl":"","children":[{"id":81322,"title":"Nginx For Linux 国密 SSL 证书安装(DNSPod)","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/81322"},{"id":81323,"title":"Apache 服务器国密 SSL 证书安装部署(DNSPod)","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/81323"}],"link":"/document/product/400/81321"}],"link":"/document/product/400/47415"},{"id":58062,"title":"一键 HTTPS","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/58062"},{"id":64948,"title":"常见问题","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/64948"}],"link":"/document/product/400/54497"},{"id":72327,"title":"私有证书","type":"directory","docType":"default","pdfUrl":"https://main.qcloudimg.com/raw/document/product/pdf/400_72327_cn.pdf","children":[{"id":72343,"title":"基本概念","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/72343"},{"id":72328,"title":"私有 CA 管理","type":"directory","docType":"default","pdfUrl":"","children":[{"id":72329,"title":"创建私有 CA","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/72329"},{"id":72330,"title":"创建私有子 CA","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/72330"},{"id":72331,"title":"吊销私有 CA","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/72331"},{"id":72332,"title":"续费私有 CA","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/72332"}],"link":"/document/product/400/72328"},{"id":72333,"title":"私有证书管理","type":"directory","docType":"default","pdfUrl":"","children":[{"id":72334,"title":"创建私有证书","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/72334"},{"id":72335,"title":"吊销私有证书","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/72335"},{"id":72336,"title":"下载私有证书","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/72336"}],"link":"/document/product/400/72333"}],"link":"/document/product/400/72327"},{"id":54498,"title":"资料管理","type":"directory","docType":"default","pdfUrl":"https://main.qcloudimg.com/raw/document/product/pdf/400_54498_cn.pdf","children":[{"id":52877,"title":"新增公司资料","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/52877"},{"id":52878,"title":"新增管理人","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/52878"},{"id":52879,"title":"新增域名","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/52879"},{"id":69297,"title":"常见问题","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/69297"}],"link":"/document/product/400/54498"},{"id":4141,"title":"证书管理","type":"directory","docType":"default","pdfUrl":"https://main.qcloudimg.com/raw/document/product/pdf/400_4141_cn.pdf","children":[{"id":55818,"title":"证书托管","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/55818"},{"id":55163,"title":"腾讯云证书权益点包管理","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/55163"},{"id":48790,"title":"上传(托管) SSL 证书指引","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/48790"},{"id":84479,"title":"SSL 证书自动续费指引","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/84479"},{"id":56754,"title":"SSL 证书催审指引","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/56754"},{"id":6550,"title":"SSL 证书吊销指引","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/6550"},{"id":58523,"title":"SSL 证书删除指引","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/58523"},{"id":45609,"title":"SSL 证书重颁发指引","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/45609"},{"id":53880,"title":"SSL 证书消息忽略指引","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/53880"},{"id":54767,"title":"SSL 证书自定义过期告警","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/54767"},{"id":66862,"title":"SSL 证书消息通知设置","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/66862"}],"link":"/document/product/400/4141"},{"id":9075,"title":"API 文档","type":"directory","docType":"api","pdfUrl":"https://main.qcloudimg.com/raw/document/product/pdf/400_9075_cn.pdf","children":[{"id":41682,"title":"更新历史","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/41682"},{"id":41657,"title":"简介","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/41657"},{"id":41681,"title":"API 概览","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/41681"},{"id":41658,"title":"调用方式","type":"directory","docType":"default","pdfUrl":"","children":[{"id":41659,"title":"请求结构","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/41659"},{"id":41660,"title":"公共参数","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/41660"},{"id":41661,"title":"签名方法 v3","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/41661"},{"id":41662,"title":"签名方法","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/41662"},{"id":41663,"title":"返回结果","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/41663"},{"id":78559,"title":"参数类型","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/78559"}],"link":"/document/product/400/41658"},{"id":41664,"title":"证书相关接口","type":"directory","docType":"default","pdfUrl":"","children":[{"id":41678,"title":"免费证书申请","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/41678"},{"id":41677,"title":"取消证书订单","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/41677"},{"id":41676,"title":"提交证书订单","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/41676"},{"id":49322,"title":"主动触发证书验证","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/49322"},{"id":49427,"title":"创建付费证书","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/49427"},{"id":41675,"title":"删除证书","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/41675"},{"id":91667,"title":"证书部署到云资源实例列表","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/91667"},{"id":91666,"title":"云资源部署重试部署记录","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/91666"},{"id":91665,"title":"云资源部署一键回滚","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/91665"},{"id":41674,"title":"获取证书信息","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/41674"},{"id":41672,"title":"获取证书操作日志","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/41672"},{"id":62674,"title":"证书查询关联资源","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/62674"},{"id":91662,"title":"查询证书CLB云资源部署实例列表信息","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/91662"},{"id":91661,"title":"查询证书cos云资源部署实例列表","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/91661"},{"id":91659,"title":"查询证书云资源部署记录列表","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/91659"},{"id":91658,"title":"查询证书云资源部署记录详情列表","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/91658"},{"id":91657,"title":"查询证书Lighthouse云资源部署实例列表","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/91657"},{"id":91653,"title":"查询证书云资源更新记录列表","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/91653"},{"id":91652,"title":"查询证书云资源更新记录详情列表","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/91652"},{"id":41670,"title":"下载证书","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/41670"},{"id":74073,"title":"云资源托管","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/74073"},{"id":41669,"title":"修改证书备注","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/41669"},{"id":41668,"title":"修改证书所属项目","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/41668"},{"id":82277,"title":"修改是否忽略证书到期通知","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/82277"},{"id":41667,"title":"重颁发证书","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/41667"},{"id":49426,"title":"吊销证书","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/49426"},{"id":41666,"title":"提交证书资料","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/41666"},{"id":91649,"title":"一键更新旧证书资源","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/91649"},{"id":91648,"title":"云资源更新重试部署记录","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/91648"},{"id":91647,"title":"云资源更新一键回滚","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/91647"},{"id":49425,"title":"上传证书确认函","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/49425"},{"id":49424,"title":"上传证书吊销确认函","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/49424"},{"id":41665,"title":"上传证书","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/41665"},{"id":41671,"title":"获取证书列表","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/41671"},{"id":41673,"title":"获取证书详情","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/41673"},{"id":49323,"title":"检查证书链完整性","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/49323"},{"id":91650,"title":"查询证书waf云资源部署实例列表","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/91650"},{"id":91651,"title":"查询证书Vod云资源部署实例列表","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/91651"},{"id":91654,"title":"查询证书tke云资源部署实例列表","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/91654"},{"id":91655,"title":"查询证书EdgeOne云资源部署实例列表","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/91655"},{"id":91656,"title":"查询证书live云资源部署实例列表","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/91656"},{"id":91660,"title":"查询证书ddos云资源部署实例列表","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/91660"},{"id":91663,"title":"查询证书cdn云资源部署实例列表","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/91663"},{"id":91664,"title":"查询证书apiGateway云资源部署实例列表","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/91664"}],"link":"/document/product/400/41664"},{"id":52669,"title":"其他接口","type":"directory","docType":"default","pdfUrl":"","children":[{"id":52674,"title":"删除管理人","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/52674"},{"id":90375,"title":"查询公司列表","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/90375"},{"id":52673,"title":"查询管理人详情","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/52673"},{"id":52672,"title":"查询管理人列表","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/52672"},{"id":81519,"title":"获得权益包列表","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/81519"},{"id":52671,"title":"重新提交审核管理人","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/52671"},{"id":52670,"title":"重新核验管理人","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/52670"},{"id":93094,"title":"使用权益点创建证书","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/93094"}],"link":"/document/product/400/52669"},{"id":41679,"title":"数据结构","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/41679"},{"id":41680,"title":"错误码","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/41680"}],"link":"/document/product/400/9075"},{"id":40431,"title":"访问管理","type":"directory","docType":"default","pdfUrl":"https://main.qcloudimg.com/raw/document/product/pdf/400_40431_cn.pdf","children":[{"id":40432,"title":"访问控制概述","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/40432"},{"id":40433,"title":"可授权资源类型","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/40433"},{"id":40434,"title":"授权策略语法","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/40434"},{"id":40435,"title":"访问控制策略示例","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/40435"}],"link":"/document/product/400/40431"},{"id":44758,"title":"最佳实践","type":"directory","docType":"practice","pdfUrl":"https://main.qcloudimg.com/raw/document/product/pdf/400_44758_cn.pdf","children":[{"id":6813,"title":"腾讯云实现全站 HTTPS 方案","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/6813"},{"id":72804,"title":"多年期证书实现证书签发和资源绑定全自动方案","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/72804"},{"id":6973,"title":"苹果 ATS 特性服务器配置指南","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/6973"},{"id":54336,"title":"DNSPod 一键申请免费 SSL 证书","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/54336"},{"id":70402,"title":"群晖(Synology)NAS 启用腾讯云 DDNS 并安装免费证书","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/70402"},{"id":71710,"title":"使用 Python 调用 API 批量申请免费证书并下载至本地","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/71710"},{"id":52983,"title":"补全 SSL 证书链","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/52983"},{"id":5707,"title":"安装 OpenSSL","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/5707"}],"link":"/document/product/400/44758"},{"id":53511,"title":"故障处理","type":"directory","docType":"default","pdfUrl":"https://main.qcloudimg.com/raw/document/product/pdf/400_53511_cn.pdf","children":[{"id":53512,"title":"域名验证时提示验证失败","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/53512"},{"id":53649,"title":"域名安全审查未通过","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/53649"},{"id":53650,"title":"无法使用 HTTPS 访问网站","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/53650"},{"id":53651,"title":"在 IIS 服务上部署 SSL 证书后访问资源出现 404 报错","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/53651"},{"id":53713,"title":"上传证书时提示 “解析失败,请检查证书是否符合标准”","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/53713"},{"id":54169,"title":"域名在西部数码进行托管,自动 DNS 验证无法验证","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/54169"},{"id":56830,"title":"部署 SSL 证书后,浏览器提示 “网站连接不安全”","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/56830"},{"id":45141,"title":"IIS 下设置 https 主机名灰色无法编辑","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/45141"},{"id":71812,"title":"IIS 部署免费 SSL 证书提示证书链中的一个或多个中间证书丢失","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/71812"}],"link":"/document/product/400/53511"},{"id":45050,"title":"视频专区","type":"directory","docType":"default","pdfUrl":"https://main.qcloudimg.com/raw/document/product/pdf/400_45050_cn.pdf","children":[{"id":45057,"title":"基础知识","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/45057"}],"link":"/document/product/400/45050"},{"id":5365,"title":"常见问题","type":"directory","docType":"faq","pdfUrl":"https://main.qcloudimg.com/raw/document/product/pdf/400_5365_cn.pdf","children":[{"id":46857,"title":"选择 SSL 证书相关","type":"directory","docType":"default","pdfUrl":"","children":[{"id":46858,"title":"如何选择 SSL 证书?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/46858"},{"id":46859,"title":"未开启网站服务前是否可以申请 SSL 证书?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/46859"},{"id":59873,"title":"CAA 记录说明","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/59873"}],"link":"/document/product/400/46857"},{"id":46860,"title":"SSL 证书申请相关","type":"directory","docType":"default","pdfUrl":"","children":[{"id":88117,"title":"证书签发失败常见原因","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/88117"},{"id":46849,"title":"免费 SSL 证书名额相关问题","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/46849"},{"id":53290,"title":"如何填写 SSL 证书申请中的绑定域名?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/53290"},{"id":46861,"title":"不会申请 SSL 证书或域名验证、资料审核不通过怎么办?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/46861"},{"id":46862,"title":"泛域名 SSL 证书相关问题","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/46862"},{"id":46863,"title":"为什么收到 CA 机构的通知,但订单状态没有变化?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/46863"},{"id":46864,"title":"SSL 证书配置的 TXT 解析是否可以删除?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/46864"},{"id":5367,"title":"什么是CSR?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/5367"},{"id":68073,"title":"什么是私钥密码?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/68073"},{"id":7421,"title":"为什么会经常收到SSL证书服务升级通知","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/7421"},{"id":6551,"title":"SSL 证书是否支持吊销","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/6551"},{"id":53148,"title":"提交 SSL 证书吊销申请时,控制台提示 “证书已关联云资源,无法吊销” 怎么办?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/53148"},{"id":54179,"title":"RSA 加密算法与 ECC 加密算法的区别?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/54179"},{"id":55565,"title":"重颁发证书与重新申请证书的区别?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/55565"},{"id":65120,"title":" 哪些 SSL 证书类型支持小程序?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/65120"}],"link":"/document/product/400/46860"},{"id":55740,"title":"SSL 证书管理相关","type":"directory","docType":"default","pdfUrl":"","children":[{"id":55741,"title":"如何查看证书信息?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/55741"},{"id":68102,"title":"一键 HTTPS 套餐即将到期如何处理?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/68102"},{"id":69295,"title":"我的资料相关","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/69295"}],"link":"/document/product/400/55740"},{"id":61387,"title":"SSL 证书安装相关","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/61387"},{"id":46867,"title":"SSL 证书地域相关","type":"directory","docType":"default","pdfUrl":"","children":[{"id":46868,"title":"SSL 证书安装存在地域限制吗?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/46868"}],"link":"/document/product/400/46867"},{"id":46869,"title":"SSL 证书审核相关","type":"directory","docType":"default","pdfUrl":"","children":[{"id":55467,"title":"SSL 证书提交资料审核时长?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/55467"},{"id":5439,"title":"安全审核失败的原因?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/5439"},{"id":46870,"title":"免费 SSL 证书一直在待验证怎么办?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/46870"},{"id":46871,"title":"申请 SSL 证书审核失败的原因及处理方法","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/46871"},{"id":46872,"title":"已购 SSL 证书提交申请审核后需要做什么?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/46872"},{"id":46874,"title":"如何查看域名型(DV)SSL 证书域名验证结果?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/46874"}],"link":"/document/product/400/46869"},{"id":46875,"title":"SSL 证书生效相关","type":"directory","docType":"default","pdfUrl":"","children":[{"id":46876,"title":"电脑或手机中的浏览器提示 SSL 证书不可信怎么办?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/46876"},{"id":46877,"title":"服务器 IP 地址更换后原来的 SSL 证书能否生效?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/46877"},{"id":46878,"title":"如何在浏览器中检查 SSL 证书是否生效?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/46878"},{"id":48903,"title":"GlobalSign 证书 Windows 7 系统下不受信任怎么办?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/48903"},{"id":71758,"title":"免费 SSL 证书颁发时间过长或颁发失败排查方案","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/71758"}],"link":"/document/product/400/46875"},{"id":46879,"title":"SSL 证书收费和购买相关","type":"directory","docType":"default","pdfUrl":"","children":[{"id":6475,"title":"域名型(DV)SSL 证书是否永久免费?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/6475"}],"link":"/document/product/400/46879"},{"id":46881,"title":"SSL 证书有效期相关","type":"directory","docType":"default","pdfUrl":"","children":[{"id":45142,"title":"SSL 证书过期了怎么办?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/45142"},{"id":46882,"title":"SSL 证书过期后未及时更新有哪些影响?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/46882"},{"id":46883,"title":"查看 SSL 证书到期相关问题","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/46883"},{"id":46884,"title":"SSL 证书成功续费后可以继续服务吗?","type":"page","docType":"default","pdfUrl":"","link":"/document/product/400/46884"}],"link":"/document/product/400/46881"}],"link":"/document/product/400/5365"},{"id":61486,"title":"技术支持","type":"page","docType":"default","pdfUrl":"https://main.qcloudimg.com/raw/document/product/pdf/400_61486_cn.pdf","link":"/document/product/400/61486"},{"id":94080,"title":"服务等级协议","type":"page","docType":"default","pdfUrl":"https://main.qcloudimg.com/raw/document/product/pdf/400_94080_cn.pdf","link":"/document/product/400/94080"},{"id":35259,"title":"联系我们","type":"page","docType":"default","pdfUrl":"https://main.qcloudimg.com/raw/document/product/pdf/400_35259_cn.pdf","link":"/document/product/400/35259"},{"id":18504,"title":"词汇表","type":"page","docType":"glossary","pdfUrl":"https://main.qcloudimg.com/raw/document/product/pdf/400_18504_cn.pdf","link":"/document/product/400/18504"}],"categoryId":400,"title":"SSL 证书","lang":"zh"}
以下视频将为您进一步介绍在 Nginx 服务器安装 SSL 证书的操作过程:
</div><div data-slate-spacer="true" style="height:0;color:transparent;outline:none;position:absolute"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-zero-width="z" data-slate-length="0"></span></span></span></div></div><div class="anchor-element"><h2 data-slate-node="element" class="" id=".E6.93.8D.E4.BD.9C.E5.9C.BA.E6.99.AF"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">操作场景</span></span></span></h2></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">本文档指导您如何在 Nginx 服务器中安装 SSL 证书。</span></span></span></div><div class="tse-hint info" data-slate-node="element"><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><b><span style="color:inherit"><span data-slate-string="true">说明</span></span></b></span></span></div><div data-slate-node="element" class="tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">本文档以证书名称 </span></span></span><span data-slate-node="text"><span data-slate-leaf="true"><code><span data-slate-string="true">cloud.tencent.com</span></code></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> 为例。</span></span></span></span></div><div data-slate-node="element" class="tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">Nginx 版本以 </span></span></span><span data-slate-node="text"><span data-slate-leaf="true"><code><span data-slate-string="true">nginx/1.18.0</span></code></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> 为例。</span></span></span></span></div><div data-slate-node="element" class="tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">当前服务器的操作系统为 CentOS 7,由于操作系统的版本不同,详细操作步骤略有区别。</span></span></span></span></div><div data-slate-node="element" class="tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">安装 SSL 证书前,请您在 Nginx 服务器上开启 HTTPS 默认端口 </span></span></span><span data-slate-node="text"><span data-slate-leaf="true"><code><span data-slate-string="true">443</span></code></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">,避免证书安装后无法启用 HTTPS。具体可参考 </span></span></span><a class="ref" href="https://cloud.tencent.com/document/product/400/45144" title="https://cloud.tencent.com/document/product/400/45144" target="_blank" data-slate-node="element" data-slate-inline="true"><span contenteditable="false"/><span class="content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">服务器如何开启443端口?</span></span></span></span><span contenteditable="false"/></a></span></div><div data-slate-node="element" class="tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">SSL 证书文件上传至服务器方法可参考 </span></span></span><a class="ref" href="https://cloud.tencent.com/document/product/213/39138" title="https://cloud.tencent.com/document/product/213/39138" target="_blank" data-slate-node="element" data-slate-inline="true"><span contenteditable="false"/><span class="content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">如何将本地文件拷贝到云服务器</span></span></span></span><span contenteditable="false"/></a><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">。</span></span></span></span></div></div><div class="anchor-element"><h2 data-slate-node="element" class="" id=".E5.89.8D.E6.8F.90.E6.9D.A1.E4.BB.B6"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">前提条件</span></span></span></h2></div><div data-slate-node="element" class="tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">已准备文件远程拷贝软件,例如 WinSCP(建议从官方网站获取最新版本)。 若您需部署到腾讯云云服务器,建议使用云服务器的文件上传功能。详情请参见 </span></span></span><a class="ref" href="https://cloud.tencent.com/document/product/1340/72845" title="https://cloud.tencent.com/document/product/1340/72845" target="_blank" data-slate-node="element" data-slate-inline="true"><span contenteditable="false"/><span class="content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">上传文件到云服务器</span></span></span></span><span contenteditable="false"/></a><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">。</span></span></span></span></div><div data-slate-node="element" class="tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">已准备远程登录工具,例如 PuTTY 或者 Xshell(建议从官方网站获取最新版本)。</span></span></span></span></div><div data-slate-node="element" class="tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">已在当前服务器中安装配置含有 </span></span></span><span data-slate-node="text"><span data-slate-leaf="true"><code><span data-slate-string="true">http_ssl_module</span></code></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> 模块的 Nginx 服务。</span></span></span></span></div><div data-slate-node="element" class="tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">安装 SSL 证书前需准备的数据如下:</span></span></span></span></div><div class="table-container tse-level-1 readonly"><div class="table-inner"><table data-slate-node="element" class=""><tbody><tr data-slate-node="element" class=""><td data-slate-node="element" class="is-header"><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">名称</span></span></span></div></td><td data-slate-node="element" class="is-header"><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">说明</span></span></span></div></td></tr><tr data-slate-node="element" class=""><td data-slate-node="element" class=""><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">服务器的 IP 地址</span></span></span></div></td><td data-slate-node="element" class=""><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">服务器的 IP 地址,用于 PC 连接到服务器。</span></span></span></div></td></tr><tr data-slate-node="element" class=""><td data-slate-node="element" class=""><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">用户名</span></span></span></div></td><td data-slate-node="element" class=""><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">登录服务器的用户名。</span></span></span></div></td></tr><tr data-slate-node="element" class=""><td data-slate-node="element" class=""><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">密码</span></span></span></div></td><td data-slate-node="element" class=""><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> 登录服务器的密码。</span></span></span></div></td></tr></tbody></table></div></div><div class="tse-hint info" data-slate-node="element"><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><b><span style="color:inherit"><span data-slate-string="true">说明</span></span></b></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">在腾讯云官网购买的云服务器,您可以登录 </span></span></span><a class="ref" href="https://console.cloud.tencent.com/cvm" title="https://console.cloud.tencent.com/cvm" target="_blank" data-slate-node="element" data-slate-inline="true"><span contenteditable="false"/><span class="content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">云服务器控制台</span></span></span></span><span contenteditable="false"/></a><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> 获取服务器 IP 地址、用户名及密码。</span></span></span></div></div><div class="anchor-element"><h2 data-slate-node="element" class="" id=".E6.93.8D.E4.BD.9C.E6.AD.A5.E9.AA.A4"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">操作步骤</span></span></span></h2></div><div class="anchor-element"><h3 data-slate-node="element" class="" id=".E8.AF.81.E4.B9.A6.E5.AE.89.E8.A3.85"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">证书安装</span></span></span></h3></div><div data-slate-node="element" class="tse-markdown-ol"><span contenteditable="false" class="tse-markdown-ol-order">1.<!-- --> </span><span class="tse-markdown-ol-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">请在 </span></span></span><a class="ref" href="https://console.cloud.tencent.com/ssl" title="https://console.cloud.tencent.com/ssl" target="_blank" data-slate-node="element" data-slate-inline="true"><span contenteditable="false"/><span class="content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">SSL 证书管理控制台</span></span></span></span><span contenteditable="false"/></a><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> 中选择您需要安装的证书并单击</span></span></span><span data-slate-node="text"><span data-slate-leaf="true"><b><span data-slate-string="true">下载</span></b></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">。</span></span></span></span></div><div data-slate-node="element" class="tse-markdown-ol"><span contenteditable="false" class="tse-markdown-ol-order">2.<!-- --> </span><span class="tse-markdown-ol-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">在弹出的 “证书下载” 窗口中,服务器类型选择 </span></span></span><span data-slate-node="text"><span data-slate-leaf="true"><b><span data-slate-string="true">Nginx</span></b></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">,单击</span></span></span><span data-slate-node="text"><span data-slate-leaf="true"><b><span data-slate-string="true">下载</span></b></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">并解压缩 </span></span></span><span data-slate-node="text"><span data-slate-leaf="true"><code><span data-slate-string="true">cloud.tencent.com</span></code></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> 证书文件包到本地目录。 解压缩后,可获得相关类型的证书文件。其中包含 </span></span></span><span data-slate-node="text"><span data-slate-leaf="true"><code><span data-slate-string="true">cloud.tencent.com_nginx</span></code></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> 文件夹:</span></span></span></span></div><div data-slate-node="element" class="tse-level-1 tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><b><span data-slate-string="true">文件夹名称</span></b></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">:</span></span></span><span data-slate-node="text"><span data-slate-leaf="true"><code><span data-slate-string="true">cloud.tencent.com_nginx</span></code></span></span></span></div><div data-slate-node="element" class="tse-level-1 tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><b><span data-slate-string="true">文件夹内容</span></b></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">:</span></span></span></span></div><div data-slate-node="element" class="tse-level-2 tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><code><span data-slate-string="true">cloud.tencent.com_bundle.crt</span></code></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> 证书文件</span></span></span></span></div><div data-slate-node="element" class="tse-level-2 tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><code><span data-slate-string="true">cloud.tencent.com_bundle.pem</span></code></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> 证书文件(可忽略该文件)</span></span></span></span></div><div data-slate-node="element" class="tse-level-2 tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><code><span data-slate-string="true">cloud.tencent.com.key</span></code></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> 私钥文件</span></span></span></span></div><div data-slate-node="element" class="tse-level-2 tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><code><span data-slate-string="true">cloud.tencent.com.csr</span></code></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> CSR 文件</span></span></span></span></div><div class="tse-hint info tse-level-3" data-slate-node="element"><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><b><span style="color:inherit"><span data-slate-string="true">说明</span></span></b></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">CSR 文件是申请证书时由您上传或系统在线生成的,提供给 CA 机构。安装时可忽略该文件。</span></span></span></div></div><div data-slate-node="element" class="tse-markdown-ol"><span contenteditable="false" class="tse-markdown-ol-order">3.<!-- --> </span><span class="tse-markdown-ol-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">使用 “WinSCP”(即本地与远程计算机间的复制文件工具)登录 Nginx 服务器。</span></span></span></span></div><div class="tse-hint info tse-level-1" data-slate-node="element"><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><b><span style="color:inherit"><span data-slate-string="true">说明</span></span></b></span></span></div><div data-slate-node="element" class="tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">WinSCP 上传文件操作可参考 </span></span></span><a class="ref" href="https://cloud.tencent.com/document/product/213/2131" title="https://cloud.tencent.com/document/product/213/2131" target="_blank" data-slate-node="element" data-slate-inline="true"><span contenteditable="false"/><span class="content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">通过 WinSCP 上传文件到 Linux 云服务器</span></span></span></span><span contenteditable="false"/></a><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">。</span></span></span></span></div><div data-slate-node="element" class="tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">若您需部署到腾讯云云服务器,建议使用云服务器的文件上传功能。详情请参见 </span></span></span><a class="ref" href="https://cloud.tencent.com/document/product/1340/72845" title="https://cloud.tencent.com/document/product/1340/72845" target="_blank" data-slate-node="element" data-slate-inline="true"><span contenteditable="false"/><span class="content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">上传文件到云服务器</span></span></span></span><span contenteditable="false"/></a><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">。</span></span></span></span></div></div><div data-slate-node="element" class="tse-markdown-ol"><span contenteditable="false" class="tse-markdown-ol-order">4.<!-- --> </span><span class="tse-markdown-ol-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">将已获取到的 </span></span></span><span data-slate-node="text"><span data-slate-leaf="true"><code><span data-slate-string="true">cloud.tencent.com_bundle.crt</span></code></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> 证书文件和 </span></span></span><span data-slate-node="text"><span data-slate-leaf="true"><code><span data-slate-string="true">cloud.tencent.com.key</span></code></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> 私钥文件从本地目录拷贝到 Nginx 服务器的 </span></span></span><span data-slate-node="text"><span data-slate-leaf="true"><code><span data-slate-string="true"> /etc/nginx</span></code></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> 目录(此处为 Nginx 默认安装目录,请根据实际情况操作)下。</span></span></span></span></div><div data-slate-node="element" class="tse-markdown-ol"><span contenteditable="false" class="tse-markdown-ol-order">5.<!-- --> </span><span class="tse-markdown-ol-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">远程登录 Nginx 服务器。例如,使用 </span></span></span><a class="ref" href="https://cloud.tencent.com/document/product/213/35699#.E6.93.8D.E4.BD.9C.E6.AD.A5.E9.AA.A4" title="https://cloud.tencent.com/document/product/213/35699#.E6.93.8D.E4.BD.9C.E6.AD.A5.E9.AA.A4" target="_blank" data-slate-node="element" data-slate-inline="true"><span contenteditable="false"/><span class="content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">“PuTTY” 工具</span></span></span></span><span contenteditable="false"/></a><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> 登录。</span></span></span></span></div><div data-slate-node="element" class="tse-markdown-ol"><span contenteditable="false" class="tse-markdown-ol-order">6.<!-- --> </span><span class="tse-markdown-ol-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">编辑 Nginx 根目录下的 </span></span></span><span data-slate-node="text"><span data-slate-leaf="true"><code><span data-slate-string="true">nginx.conf</span></code></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> 文件。修改内容如下:</span></span></span></span></div><div class="tse-hint info tse-level-1" data-slate-node="element"><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><b><span style="color:inherit"><span data-slate-string="true">说明</span></span></b></span></span></div><div data-slate-node="element" class="tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">如找不到以下内容,可以手动添加。可执行命令 nginx -t ,找到nginx的配置文件路径。</span></span></span></span></div><div class="tse-level-1" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">如下图示例:</span></span></span><div class="element image inline-image" data-slate-node="element" data-slate-inline="true" data-slate-void="true"><div contenteditable="false" class="image-inner"><figure class="image-figure read-only"><div class="image-container" data-width="838" data-height="94" style="width:838px;height:94px"><div class="rc-image image-with-preview"><img alt="tapd_10132091_base64_1665978617_57.png" class="rc-image-img" style="height:94px;width:838px" src="https://qcloudimg.tencent-cloud.cn/image/document/b772c59a0bdd1d7bfc97a2320cb95df7.png"/></div></div></figure></div><span data-slate-spacer="true" style="height:0;color:transparent;outline:none;position:absolute"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-zero-width="z" data-slate-length="0"></span></span></span></span></div><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-zero-width="z" data-slate-length="0"></span></span></span></div><div data-slate-node="element" class="tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">此操作可通过执行 </span></span></span><span data-slate-node="text"><span data-slate-leaf="true"><code><span data-slate-string="true">vim /etc/nginx/nginx.conf</span></code></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> 命令行编辑该文件。</span></span></span></span></div><div data-slate-node="element" class="tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">由于版本问题,配置文件可能存在不同的写法。例如:Nginx 版本为 </span></span></span><span data-slate-node="text"><span data-slate-leaf="true"><code><span data-slate-string="true">nginx/1.15.0</span></code></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> 以上请使用 </span></span></span><span data-slate-node="text"><span data-slate-leaf="true"><code><span data-slate-string="true">listen 443 ssl</span></code></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> 代替 </span></span></span><span data-slate-node="text"><span data-slate-leaf="true"><code><span data-slate-string="true">listen 443</span></code></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> 和 </span></span></span><span data-slate-node="text"><span data-slate-leaf="true"><code><span data-slate-string="true">ssl on</span></code></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">。</span></span></span></span></div></div><div data-slate-node="element" class="code-block-wrap tse-level-1"><div contenteditable="false" class="code-block-toolbar"><div class="code-block-toolbar__item"><div class="code-block-toolbar__btn"><div class="code-block-toolbar__icon"><svg viewbox="0 0 16 16" fill="currentColor"><path d="M11 14.75C11.4142 14.75 11.75 14.4142 11.75 14V11.75H14C14.4142 11.75 14.75 11.4142 14.75 11V2C14.75 1.58579 14.4142 1.25 14 1.25H5C4.58579 1.25 4.25 1.58579 4.25 2V4.25H2C1.58579 4.25 1.25 4.58579 1.25 5V14C1.25 14.4142 1.58579 14.75 2 14.75H11ZM5.75 4.25V2.75H13.25V10.25H11.75V5C11.75 4.58579 11.4142 4.25 11 4.25H5.75ZM5 5.75H2.75V13.25H10.25V5.75H5Z" fill-rule="evenodd" clip-rule="evenodd"/></svg></div></div></div></div><div><pre class="language-bash code-block"><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">server </span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">{</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> </span></span><span data-slate-leaf="true"><span class="prism-token token comment" data-slate-leaf="true"><span data-slate-string="true">#SSL 默认访问端口号为 443</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> listen </span></span><span data-slate-leaf="true"><span class="prism-token token number" data-slate-leaf="true"><span data-slate-string="true">443</span></span></span><span data-slate-leaf="true"><span data-slate-string="true"> ssl</span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">;</span></span></span><span data-slate-leaf="true"><span data-slate-string="true"> </span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> </span></span><span data-slate-leaf="true"><span class="prism-token token comment" data-slate-leaf="true"><span data-slate-string="true">#请填写绑定证书的域名</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> server_name cloud.tencent.com</span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">;</span></span></span><span data-slate-leaf="true"><span data-slate-string="true"> </span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> </span></span><span data-slate-leaf="true"><span class="prism-token token comment" data-slate-leaf="true"><span data-slate-string="true">#请填写证书文件的相对路径或绝对路径</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> ssl_certificate cloud.tencent.com_bundle.crt</span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">;</span></span></span><span data-slate-leaf="true"><span data-slate-string="true"> </span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> </span></span><span data-slate-leaf="true"><span class="prism-token token comment" data-slate-leaf="true"><span data-slate-string="true">#请填写私钥文件的相对路径或绝对路径</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> ssl_certificate_key cloud.tencent.com.key</span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">;</span></span></span><span data-slate-leaf="true"><span data-slate-string="true"> </span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> ssl_session_timeout 5m</span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">;</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> </span></span><span data-slate-leaf="true"><span class="prism-token token comment" data-slate-leaf="true"><span data-slate-string="true">#请按照以下协议配置</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> ssl_protocols TLSv1.2 TLSv1.3</span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">;</span></span></span><span data-slate-leaf="true"><span data-slate-string="true"> </span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> </span></span><span data-slate-leaf="true"><span class="prism-token token comment" data-slate-leaf="true"><span data-slate-string="true">#请按照以下套件配置,配置加密套件,写法遵循 openssl 标准。</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:HIGH:</span></span><span data-slate-leaf="true"><span class="prism-token token operator" data-slate-leaf="true"><span data-slate-string="true">!</span></span></span><span data-slate-leaf="true"><span data-slate-string="true">aNULL:</span></span><span data-slate-leaf="true"><span class="prism-token token operator" data-slate-leaf="true"><span data-slate-string="true">!</span></span></span><span data-slate-leaf="true"><span data-slate-string="true">MD5:</span></span><span data-slate-leaf="true"><span class="prism-token token operator" data-slate-leaf="true"><span data-slate-string="true">!</span></span></span><span data-slate-leaf="true"><span data-slate-string="true">RC4:</span></span><span data-slate-leaf="true"><span class="prism-token token operator" data-slate-leaf="true"><span data-slate-string="true">!</span></span></span><span data-slate-leaf="true"><span data-slate-string="true">DHE</span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">;</span></span></span><span data-slate-leaf="true"><span data-slate-string="true"> </span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> ssl_prefer_server_ciphers on</span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">;</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> location / </span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">{</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> </span></span><span data-slate-leaf="true"><span class="prism-token token comment" data-slate-leaf="true"><span data-slate-string="true">#网站主页路径。此路径仅供参考,具体请您按照实际目录操作。</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> </span></span><span data-slate-leaf="true"><span class="prism-token token comment" data-slate-leaf="true"><span data-slate-string="true">#例如,您的网站主页在 Nginx 服务器的 /etc/www 目录下,则请修改 root 后面的 html 为 /etc/www。</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> root html</span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">;</span></span></span><span data-slate-leaf="true"><span data-slate-string="true"> </span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> index index.html index.htm</span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">;</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> </span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">}</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> </span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">}</span></span></span></span></div></pre></div></div><div data-slate-node="element" class="tse-markdown-ol"><span contenteditable="false" class="tse-markdown-ol-order">7.<!-- --> </span><span class="tse-markdown-ol-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">通过执行以下命令验证配置文件问题。</span></span></span></span></div><div data-slate-node="element" class="code-block-wrap tse-level-1"><div contenteditable="false" class="code-block-toolbar"><div class="code-block-toolbar__item"><div class="code-block-toolbar__btn"><div class="code-block-toolbar__icon"><svg viewbox="0 0 16 16" fill="currentColor"><path d="M11 14.75C11.4142 14.75 11.75 14.4142 11.75 14V11.75H14C14.4142 11.75 14.75 11.4142 14.75 11V2C14.75 1.58579 14.4142 1.25 14 1.25H5C4.58579 1.25 4.25 1.58579 4.25 2V4.25H2C1.58579 4.25 1.25 4.58579 1.25 5V14C1.25 14.4142 1.58579 14.75 2 14.75H11ZM5.75 4.25V2.75H13.25V10.25H11.75V5C11.75 4.58579 11.4142 4.25 11 4.25H5.75ZM5 5.75H2.75V13.25H10.25V5.75H5Z" fill-rule="evenodd" clip-rule="evenodd"/></svg></div></div></div></div><div><pre class="language-bash code-block"><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">nginx -t</span></span></span></div></pre></div></div><div data-slate-node="element" class="tse-level-1 tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">若存在,请您重新配置或者根据提示修改存在问题。</span></span></span></span></div><div data-slate-node="element" class="tse-level-1 tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">若不存在,请执行 </span></span></span><a class="ref" href="#step8" title="#step8" target="_self" data-slate-node="element" data-slate-inline="true"><span contenteditable="false"/><span class="content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">步骤8</span></span></span></span><span contenteditable="false"/></a><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">。</span></span></span></span></div><div data-slate-node="element" class="tse-markdown-ol"><span contenteditable="false" class="tse-markdown-ol-order">8.<!-- --> </span><span class="tse-markdown-ol-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">通过执行以下命令重载 Nginx。</span></span></span></span></div><div data-slate-node="element" class="code-block-wrap tse-level-1"><div contenteditable="false" class="code-block-toolbar"><div class="code-block-toolbar__item"><div class="code-block-toolbar__btn"><div class="code-block-toolbar__icon"><svg viewbox="0 0 16 16" fill="currentColor"><path d="M11 14.75C11.4142 14.75 11.75 14.4142 11.75 14V11.75H14C14.4142 11.75 14.75 11.4142 14.75 11V2C14.75 1.58579 14.4142 1.25 14 1.25H5C4.58579 1.25 4.25 1.58579 4.25 2V4.25H2C1.58579 4.25 1.25 4.58579 1.25 5V14C1.25 14.4142 1.58579 14.75 2 14.75H11ZM5.75 4.25V2.75H13.25V10.25H11.75V5C11.75 4.58579 11.4142 4.25 11 4.25H5.75ZM5 5.75H2.75V13.25H10.25V5.75H5Z" fill-rule="evenodd" clip-rule="evenodd"/></svg></div></div></div></div><div><pre class="language-bash code-block"><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">nginx -s reload</span></span></span></div></pre></div></div><div class="anchor-element"><div data-slate-node="element" id="step8" class="tse-markdown-ol"><span contenteditable="false" class="tse-markdown-ol-order">9.<!-- --> </span><span class="tse-markdown-ol-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">重载成功,即可使用 </span></span></span><span data-slate-node="text"><span data-slate-leaf="true"><code><span data-slate-string="true">https://cloud.tencent.com</span></code></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> 进行访问。</span></span></span></span></div></div><div class="anchor-element"><h3 data-slate-node="element" class="" id="http-.E8.87.AA.E5.8A.A8.E8.B7.B3.E8.BD.AC-https-.E7.9A.84.E5.AE.89.E5.85.A8.E9.85.8D.E7.BD.AE.EF.BC.88.E5.8F.AF.E9.80.89.EF.BC.89"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">HTTP 自动跳转 HTTPS 的安全配置(可选)</span></span></span></h3></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">如果您需要将 HTTP 请求自动重定向到 HTTPS。您可以通过以下操作设置:</span></span></span></div><div data-slate-node="element" class="tse-markdown-ol"><span contenteditable="false" class="tse-markdown-ol-order">1.<!-- --> </span><span class="tse-markdown-ol-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">根据实际需求,选择以下配置方式:</span></span></span></span></div><div data-slate-node="element" class="tse-level-1 tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">在页面中添加 JS 脚本。</span></span></span></span></div><div data-slate-node="element" class="tse-level-1 tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">在后端程序中添加重定向。</span></span></span></span></div><div data-slate-node="element" class="tse-level-1 tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">通过 Web 服务器实现跳转。</span></span></span></span></div><div data-slate-node="element" class="tse-level-1 tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">Nginx 支持 rewrite 功能。若您在编译时没有去掉 pcre,您可在 HTTP 的 server 中增加 </span></span></span><span data-slate-node="text"><span data-slate-leaf="true"><code><span data-slate-string="true">return 301 https://$host$request_uri;</span></code></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">,即可将默认80端口的请求重定向为 HTTPS。修改如下内容:</span></span></span></span></div><div class="tse-hint info tse-level-2" data-slate-node="element"><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><b><span style="color:inherit"><span data-slate-string="true">说明</span></span></b></span></span></div><div data-slate-node="element" class="tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">未添加注释的配置语句,您按照下述配置即可。</span></span></span></span></div><div data-slate-node="element" class="tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">由于版本问题,配置文件可能存在不同的写法。例如:Nginx 版本为 </span></span></span><span data-slate-node="text"><span data-slate-leaf="true"><code><span data-slate-string="true">nginx/1.15.0</span></code></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> 以上请使用 </span></span></span><span data-slate-node="text"><span data-slate-leaf="true"><code><span data-slate-string="true">listen 443 ssl</span></code></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> 代替 </span></span></span><span data-slate-node="text"><span data-slate-leaf="true"><code><span data-slate-string="true">listen 443</span></code></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> 和 </span></span></span><span data-slate-node="text"><span data-slate-leaf="true"><code><span data-slate-string="true">ssl on</span></code></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">。</span></span></span></span></div></div><div data-slate-node="element" class="code-block-wrap tse-level-2"><div contenteditable="false" class="code-block-toolbar"><div class="code-block-toolbar__item"><div class="code-block-toolbar__btn"><div class="code-block-toolbar__icon"><svg viewbox="0 0 16 16" fill="currentColor"><path d="M11 14.75C11.4142 14.75 11.75 14.4142 11.75 14V11.75H14C14.4142 11.75 14.75 11.4142 14.75 11V2C14.75 1.58579 14.4142 1.25 14 1.25H5C4.58579 1.25 4.25 1.58579 4.25 2V4.25H2C1.58579 4.25 1.25 4.58579 1.25 5V14C1.25 14.4142 1.58579 14.75 2 14.75H11ZM5.75 4.25V2.75H13.25V10.25H11.75V5C11.75 4.58579 11.4142 4.25 11 4.25H5.75ZM5 5.75H2.75V13.25H10.25V5.75H5Z" fill-rule="evenodd" clip-rule="evenodd"/></svg></div></div></div></div><div><pre class="language-bash code-block"><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">server </span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">{</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> </span></span><span data-slate-leaf="true"><span class="prism-token token comment" data-slate-leaf="true"><span data-slate-string="true">#SSL 默认访问端口号为 443</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> listen </span></span><span data-slate-leaf="true"><span class="prism-token token number" data-slate-leaf="true"><span data-slate-string="true">443</span></span></span><span data-slate-leaf="true"><span data-slate-string="true"> ssl</span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">;</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> </span></span><span data-slate-leaf="true"><span class="prism-token token comment" data-slate-leaf="true"><span data-slate-string="true">#请填写绑定证书的域名</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> server_name cloud.tencent.com</span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">;</span></span></span><span data-slate-leaf="true"><span data-slate-string="true"> </span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> </span></span><span data-slate-leaf="true"><span class="prism-token token comment" data-slate-leaf="true"><span data-slate-string="true">#请填写证书文件的相对路径或绝对路径</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> ssl_certificate cloud.tencent.com_bundle.crt</span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">;</span></span></span><span data-slate-leaf="true"><span data-slate-string="true"> </span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> </span></span><span data-slate-leaf="true"><span class="prism-token token comment" data-slate-leaf="true"><span data-slate-string="true">#请填写私钥文件的相对路径或绝对路径</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> ssl_certificate_key cloud.tencent.com.key</span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">;</span></span></span><span data-slate-leaf="true"><span data-slate-string="true"> </span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> ssl_session_timeout 5m</span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">;</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> </span></span><span data-slate-leaf="true"><span class="prism-token token comment" data-slate-leaf="true"><span data-slate-string="true">#请按照以下套件配置,配置加密套件,写法遵循 openssl 标准。</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:</span></span><span data-slate-leaf="true"><span class="prism-token token operator" data-slate-leaf="true"><span data-slate-string="true">!</span></span></span><span data-slate-leaf="true"><span data-slate-string="true">NULL:</span></span><span data-slate-leaf="true"><span class="prism-token token operator" data-slate-leaf="true"><span data-slate-string="true">!</span></span></span><span data-slate-leaf="true"><span data-slate-string="true">aNULL:</span></span><span data-slate-leaf="true"><span class="prism-token token operator" data-slate-leaf="true"><span data-slate-string="true">!</span></span></span><span data-slate-leaf="true"><span data-slate-string="true">MD5:</span></span><span data-slate-leaf="true"><span class="prism-token token operator" data-slate-leaf="true"><span data-slate-string="true">!</span></span></span><span data-slate-leaf="true"><span data-slate-string="true">ADH:</span></span><span data-slate-leaf="true"><span class="prism-token token operator" data-slate-leaf="true"><span data-slate-string="true">!</span></span></span><span data-slate-leaf="true"><span data-slate-string="true">RC4</span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">;</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> </span></span><span data-slate-leaf="true"><span class="prism-token token comment" data-slate-leaf="true"><span data-slate-string="true">#请按照以下协议配置</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> ssl_protocols TLSv1.2 TLSv1.3</span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">;</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> ssl_prefer_server_ciphers on</span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">;</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> location / </span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">{</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> </span></span><span data-slate-leaf="true"><span class="prism-token token comment" data-slate-leaf="true"><span data-slate-string="true">#网站主页路径。此路径仅供参考,具体请您按照实际目录操作。 </span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> </span></span><span data-slate-leaf="true"><span class="prism-token token comment" data-slate-leaf="true"><span data-slate-string="true">#例如,您的网站主页在 Nginx 服务器的 /etc/www 目录下,则请修改 root 后面的 html 为 /etc/www。</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> root html</span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">;</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> index index.html index.htm</span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">;</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> </span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">}</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">}</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">server </span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">{</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> listen </span></span><span data-slate-leaf="true"><span class="prism-token token number" data-slate-leaf="true"><span data-slate-string="true">80</span></span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">;</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> </span></span><span data-slate-leaf="true"><span class="prism-token token comment" data-slate-leaf="true"><span data-slate-string="true">#请填写绑定证书的域名</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> server_name cloud.tencent.com</span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">;</span></span></span><span data-slate-leaf="true"><span data-slate-string="true"> </span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> </span></span><span data-slate-leaf="true"><span class="prism-token token comment" data-slate-leaf="true"><span data-slate-string="true">#把http的域名请求转成https</span></span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> </span></span><span data-slate-leaf="true"><span class="prism-token token builtin" data-slate-leaf="true"><span data-slate-string="true">return</span></span></span><span data-slate-leaf="true"><span data-slate-string="true"> </span></span><span data-slate-leaf="true"><span class="prism-token token number" data-slate-leaf="true"><span data-slate-string="true">301</span></span></span><span data-slate-leaf="true"><span data-slate-string="true"> https://</span></span><span data-slate-leaf="true"><span class="prism-token token variable" data-slate-leaf="true"><span data-slate-string="true">$host</span></span></span><span data-slate-leaf="true"><span class="prism-token token variable" data-slate-leaf="true"><span data-slate-string="true">$request_uri</span></span></span><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">;</span></span></span><span data-slate-leaf="true"><span data-slate-string="true"> </span></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span class="prism-token token punctuation" data-slate-leaf="true"><span data-slate-string="true">}</span></span></span></span></div></pre></div></div><div data-slate-node="element" class="tse-markdown-ol"><span contenteditable="false" class="tse-markdown-ol-order">2.<!-- --> </span><span class="tse-markdown-ol-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">通过执行以下命令验证配置文件问题。</span></span></span></span></div><div data-slate-node="element" class="code-block-wrap tse-level-1"><div contenteditable="false" class="code-block-toolbar"><div class="code-block-toolbar__item"><div class="code-block-toolbar__btn"><div class="code-block-toolbar__icon"><svg viewbox="0 0 16 16" fill="currentColor"><path d="M11 14.75C11.4142 14.75 11.75 14.4142 11.75 14V11.75H14C14.4142 11.75 14.75 11.4142 14.75 11V2C14.75 1.58579 14.4142 1.25 14 1.25H5C4.58579 1.25 4.25 1.58579 4.25 2V4.25H2C1.58579 4.25 1.25 4.58579 1.25 5V14C1.25 14.4142 1.58579 14.75 2 14.75H11ZM5.75 4.25V2.75H13.25V10.25H11.75V5C11.75 4.58579 11.4142 4.25 11 4.25H5.75ZM5 5.75H2.75V13.25H10.25V5.75H5Z" fill-rule="evenodd" clip-rule="evenodd"/></svg></div></div></div></div><div><pre class="language-bash code-block"><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">nginx -t</span></span></span></div></pre></div></div><div data-slate-node="element" class="tse-level-1 tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">若存在,请您重新配置或者根据提示修改存在问题。</span></span></span></span></div><div data-slate-node="element" class="tse-level-1 tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">若不存在,请执行 </span></span></span><a class="ref" href="#step3" title="#step3" target="_self" data-slate-node="element" data-slate-inline="true"><span contenteditable="false"/><span class="content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">步骤3</span></span></span></span><span contenteditable="false"/></a><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">。</span></span></span></span></div><div data-slate-node="element" class="tse-markdown-ol"><span contenteditable="false" class="tse-markdown-ol-order">3.<!-- --> </span><span class="tse-markdown-ol-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">通过执行以下命令重载 Nginx。</span></span></span></span></div><div data-slate-node="element" class="code-block-wrap tse-level-1"><div contenteditable="false" class="code-block-toolbar"><div class="code-block-toolbar__item"><div class="code-block-toolbar__btn"><div class="code-block-toolbar__icon"><svg viewbox="0 0 16 16" fill="currentColor"><path d="M11 14.75C11.4142 14.75 11.75 14.4142 11.75 14V11.75H14C14.4142 11.75 14.75 11.4142 14.75 11V2C14.75 1.58579 14.4142 1.25 14 1.25H5C4.58579 1.25 4.25 1.58579 4.25 2V4.25H2C1.58579 4.25 1.25 4.58579 1.25 5V14C1.25 14.4142 1.58579 14.75 2 14.75H11ZM5.75 4.25V2.75H13.25V10.25H11.75V5C11.75 4.58579 11.4142 4.25 11 4.25H5.75ZM5 5.75H2.75V13.25H10.25V5.75H5Z" fill-rule="evenodd" clip-rule="evenodd"/></svg></div></div></div></div><div><pre class="language-bash code-block"><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">nginx -s reload</span></span></span></div></pre></div></div><div class="anchor-element"><div data-slate-node="element" id="step3" class="tse-markdown-ol"><span contenteditable="false" class="tse-markdown-ol-order">4.<!-- --> </span><span class="tse-markdown-ol-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">重载成功,即可使用 </span></span></span><span data-slate-node="text"><span data-slate-leaf="true"><code><span data-slate-string="true">https://cloud.tencent.com</span></code></span></span><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true"> 进行访问。</span></span></span></span></div></div><div data-slate-node="element" class="tse-level-1 tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">如果浏览器地址栏显示安全锁标识,则说明证书安装成功。如下图所示: </span></span></span><div class="element image inline-image" data-slate-node="element" data-slate-inline="true" data-slate-void="true"><div contenteditable="false" class="image-inner"><figure class="image-figure read-only"><div class="image-container" data-width="328" data-height="75" style="width:328px;height:75px"><div class="rc-image image-with-preview"><img alt="" class="rc-image-img" style="height:75px;width:328px" src="https://qcloudimg.tencent-cloud.cn/image/document/713e9dc63d375ea152fcc345b8cbfa5b.png"/></div></div></figure></div><span data-slate-spacer="true" style="height:0;color:transparent;outline:none;position:absolute"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-zero-width="z" data-slate-length="0"></span></span></span></span></div><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-zero-width="z" data-slate-length="0"></span></span></span></span></div><div data-slate-node="element" class="tse-level-1 tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">如果网站访问异常,可参考以下常见问题解决方案进行处理:</span></span></span></span></div><div data-slate-node="element" class="tse-level-2 tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-zero-width="z" data-slate-length="0"></span></span></span><a class="ref" href="https://cloud.tencent.com/document/product/400/53650" title="https://cloud.tencent.com/document/product/400/53650" target="_blank" data-slate-node="element" data-slate-inline="true"><span contenteditable="false"/><span class="content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">无法使用 HTTPS 访问网站</span></span></span></span><span contenteditable="false"/></a><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-zero-width="z" data-slate-length="0"></span></span></span></span></div><div data-slate-node="element" class="tse-level-2 tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-zero-width="z" data-slate-length="0"></span></span></span><a class="ref" href="https://cloud.tencent.com/document/product/400/56830" title="https://cloud.tencent.com/document/product/400/56830" target="_blank" data-slate-node="element" data-slate-inline="true"><span contenteditable="false"/><span class="content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">部署 SSL 证书后,浏览器提示 “网站连接不安全”</span></span></span></span><span contenteditable="false"/></a><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-zero-width="z" data-slate-length="0"></span></span></span></span></div><div data-slate-node="element" class="tse-level-2 tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-zero-width="z" data-slate-length="0"></span></span></span><a class="ref" href="https://cloud.tencent.com/document/product/400/5366" title="https://cloud.tencent.com/document/product/400/5366" target="_blank" data-slate-node="element" data-slate-inline="true"><span contenteditable="false"/><span class="content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">访问站点提示连接不安全?</span></span></span></span><span contenteditable="false"/></a><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-zero-width="z" data-slate-length="0"></span></span></span></span></div><div data-slate-node="element" class="tse-level-2 tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-zero-width="z" data-slate-length="0"></span></span></span><a class="ref" href="https://cloud.tencent.com/document/product/400/65727" title="https://cloud.tencent.com/document/product/400/65727" target="_blank" data-slate-node="element" data-slate-inline="true"><span contenteditable="false"/><span class="content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">SSL 证书过期后重新申请部署依然提示 HTTPS 不安全?</span></span></span></span><span contenteditable="false"/></a><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-zero-width="z" data-slate-length="0"></span></span></span></span></div><div data-slate-node="element" class="tse-level-2 tse-markdown-ul"><span contenteditable="false" class="tse-ul-symbol"/><span class="tse-ul-content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-zero-width="z" data-slate-length="0"></span></span></span><a class="ref" href="https://cloud.tencent.com/document/product/400/53651" title="https://cloud.tencent.com/document/product/400/53651" target="_blank" data-slate-node="element" data-slate-inline="true"><span contenteditable="false"/><span class="content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">在服务器上部署 SSL 证书后访问资源出现 404 报错</span></span></span></span><span contenteditable="false"/></a><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-zero-width="z" data-slate-length="0"></span></span></span></span></div><div class="tse-hint alert" data-slate-node="element"><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><b><span style="color:#04C8DC"><span data-slate-string="true">注意</span></span></b></span></span></div><div class="" data-slate-node="element"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">操作过程如果出现问题,请您 </span></span></span><a class="ref" href="https://cloud.tencent.com/document/product/400/35259" title="https://cloud.tencent.com/document/product/400/35259" target="_blank" data-slate-node="element" data-slate-inline="true"><span contenteditable="false"/><span class="content"><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">联系我们</span></span></span></span><span contenteditable="false"/></a><span data-slate-node="text"><span data-slate-leaf="true"><span data-slate-string="true">。</span></span></span></div></div></div>
推荐文章
有胆有识的鼠标
·
Nexus搭建npm私库(角色管理、上传脚本)_nexus npm-CSDN博客
4 月前
刚失恋的黄瓜
·
c++ - C26495 Variable 'Employee::age' is uninitialized. Always initialize a member variable (type.6)
1 年前
豁达的枕头
·
Ruby中整型和字符型的类型转化_铭霏的博客-CSDN博客
1 年前
听话的香菜
·
一、历届本科生、专科生名单-地理与旅游学院
1 年前
玩篮球的苹果
·
使用 ExoPlayer 实现 列表视频自动播放 - 简书
1 年前