https网址不是绿色的,解决方法
https是建立安全的通信通道,需配置三方SSL证书(方法见前一篇文章)https配置完成可以正确访问后还需要对源代码进行修改。通常拿网站首页做实验,虽然能访问了,但是打开控制台后发现,提示了一堆类似如下内容:Mixed Content: The page at 'https://mydomain.com' was loaded over HTTPS, but requested an insecure script 'http://mydomain/js/test.js'. This request has been blocked; the content ...