开发者社区> 问答> 正文

阿里云SLB部署https,怎么样才能支持http,https混合访问?

SLB部署完成后,在我的网页代码中有访问http的链接,出现被浏览器block的状态:
Mixed Content: The page at 'https://dev.wei.com/' was loaded over HTTPS, but requested an insecure script 'http://www.trustutn.org/404.html'. This request has been blocked; the content must be served over HTTPS.
Failed to load resource: net::ERR_INSECURE_RESPONSE
https://ec.eqixin.com/images/2.png Failed to load resource: net::ERR_CONNECTION_REFUSED
https://bs.baidu.com/hmt/icon/21.gif Failed to load resource: net::ERR_CONNECTION_TIMED_OUT

展开
收起
booth 2017-03-31 16:49:20 8506 0
1 条回答
写回答
取消 提交回答
  • mixed content是浏览器的行为,最好改造一下在https的页面上异步的http请求都会被block的,而且图片、前端资源也会有问题。

    2019-07-17 21:00:01
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
《应用型负载均衡ALB产品解读》 立即下载
阿里云网络-SLB负载均衡产品介绍 立即下载
负载均衡SLB热点问题解答 立即下载