https
文章平均质量分 70
csdn_aspnet
这个作者很懒,什么都没留下…
展开
-
Nginx配置Https证书
访问域名:https://coderlink.cn ,chrome浏览器没有出现不安全提示,至此Nginx配置https完成。1.如果证书下载后得到的是crt文件,可以直接将.crt文件修改后缀名为pem文件,访问域名 http://coderlink.cn ,chrome浏览器出现不安全提示。2.需要开启云服务的443端口.在对应的云服务器控制台开启即可。进入Nginx的sb目录输入: nginx -V。进入Nginx的conf目录,配置证书和路径。配置完成后,启动Nginx,原创 2022-11-29 18:19:28 · 1325 阅读 · 0 评论 -
Https网站中请求Http内容
Https网站中无法请求Http资源(静态资源、接口等)今天遇到个问题:```Mixed Content: The page at ‘https://*****’ was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ‘http://*****’. This request has been blocked; the content must be served over HTTPS```突然意识到出问题的网站原创 2021-08-27 17:11:31 · 2544 阅读 · 2 评论