当前位置:论坛首页 > Linux面板 > 求助

使用SSL打开网站显示不全

发表在 Linux面板2018-11-1 20:13 [复制链接] 6 2130

https://lipeng.in   就是乱码(SL证书已经加载)
http://lipeng.in   就正常。

如果强制打开HTTPS://就会提示多次定向而打开失败!~



使用道具 举报 只看该作者 回复
发表于 2018-11-1 22:29:22 | 显示全部楼层
你调用的文件不是https的,被浏览器安全策略拦截了,所以css以及js之类的都加载失败
使用道具 举报 回复 支持 反对
发表于 2018-11-1 22:29:41 | 显示全部楼层
该怎么样处理呢?
使用道具 举报 回复 支持 反对
发表于 2018-11-1 22:30:01 | 显示全部楼层

Waterfall
6 requests ❘ 0 B transferred

Console
Request blocking



top
Default levels


lipeng.in/:16 Mixed Content: The page at 'https://lipeng.in/' was loaded over HTTPS, but requested an insecure stylesheet 'http://lipeng.in/wp-content/themes/Kratos-master/css/animate.min.css?ver=3.5.1'. This request has been blocked; the content must be served over HTTPS.
lipeng.in/:17 Mixed Content: The page at 'https://lipeng.in/' was loaded over HTTPS, but requested an insecure stylesheet 'http://lipeng.in/wp-content/themes/Kratos-master/css/font-awesome.min.css?ver=4.7.0'. This request has been blocked; the content must be served over HTTPS.
lipeng.in/:18 Mixed Content: The page at 'https://lipeng.in/' was loaded over HTTPS, but requested an insecure stylesheet 'http://lipeng.in/wp-content/themes/Kratos-master/css/bootstrap.min.css?ver=3.3.7'. This request has been blocked; the content must be served over HTTPS.
lipeng.in/:19 Mixed Content: The page at 'https://lipeng.in/' was loaded over HTTPS, but requested an insecure stylesheet 'http://lipeng.in/wp-content/themes/Kratos-master/css/superfish.min.css?ver=r7'. This request has been blocked; the content must be served over HTTPS.
lipeng.in/:20 Mixed Content: The page at 'https://lipeng.in/' was loaded over HTTPS, but requested an insecure stylesheet 'http://lipeng.in/wp-content/themes/Kratos-master/css/layer.min.css?ver=2.6'. This request has been blocked; the content must be served over HTTPS.
lipeng.in/:21 Mixed Content: The page at 'https://lipeng.in/' was loaded over HTTPS, but requested an insecure stylesheet 'http://lipeng.in/wp-content/themes/Kratos-master/style.css?ver=2.6'. This request has been blocked; the content must be served over HTTPS.
lipeng.in/:1 Mixed Content: The page at 'https://lipeng.in/' was loaded over HTTPS, but requested an insecure script 'http://lipeng.in/wp-content/themes/Kratos-master/js/jquery.min.js?ver=2.1.4'. This request has been blocked; the content must be served over HTTPS.
lipeng.in/:47 Mixed Content: The page at 'https://lipeng.in/' was loaded over HTTPS, but requested an insecure image 'http://lipeng.in/wp-content/themes/Kratos-master/images/default.jpg'. This content should also be served over HTTPS.
lipeng.in/:1 Mixed Content: The page at 'https://lipeng.in/' was loaded over HTTPS, but requested an insecure script 'http://lipeng.in/wp-content/themes/Kratos-master/js/jquery.easing.min.js?ver=1.3.0'. This request has been blocked; the content must be served over HTTPS.
lipeng.in/:1 Mixed Content: The page at 'https://lipeng.in/' was loaded over HTTPS, but requested an insecure script 'http://lipeng.in/wp-content/themes/Kratos-master/js/jquery.qrcode.min.js?ver=2.6'. This request has been blocked; the content must be served over HTTPS.
lipeng.in/:1 Mixed Content: The page at 'https://lipeng.in/' was loaded over HTTPS, but requested an insecure script 'http://lipeng.in/wp-content/themes/Kratos-master/js/layer.min.js?ver=3.0.3'. This request has been blocked; the content must be served over HTTPS.
lipeng.in/:1 Mixed Content: The page at 'https://lipeng.in/' was loaded over HTTPS, but requested an insecure script 'http://lipeng.in/wp-content/themes/Kratos-master/js/modernizr.min.js?ver=2.6.2'. This request has been blocked; the content must be served over HTTPS.
lipeng.in/:1 Mixed Content: The page at 'https://lipeng.in/' was loaded over HTTPS, but requested an insecure script 'http://lipeng.in/wp-content/themes/Kratos-master/js/bootstrap.min.js?ver=3.3.7'. This request has been blocked; the content must be served over HTTPS.
lipeng.in/:1 Mixed Content: The page at 'https://lipeng.in/' was loaded over HTTPS, but requested an insecure script 'http://lipeng.in/wp-content/themes/Kratos-master/js/jquery.waypoints.min.js?ver=4.0.0'. This request has been blocked; the content must be served over HTTPS.
lipeng.in/:1 Mixed Content: The page at 'https://lipeng.in/' was loaded over HTTPS, but requested an insecure script 'http://lipeng.in/wp-content/themes/Kratos-master/js/jquery.stellar.min.js?ver=0.6.2'. This request has been blocked; the content must be served over HTTPS.
lipeng.in/:1 Mixed Content: The page at 'https://lipeng.in/' was loaded over HTTPS, but requested an insecure script 'http://lipeng.in/wp-content/themes/Kratos-master/js/hoverIntent.min.js?ver=r7'. This request has been blocked; the content must be served over HTTPS.
lipeng.in/:1 Mixed Content: The page at 'https://lipeng.in/' was loaded over HTTPS, but requested an insecure script 'http://lipeng.in/wp-content/themes/Kratos-master/js/superfish.js?ver=1.0.0'. This request has been blocked; the content must be served over HTTPS.
lipeng.in/:1 Mixed Content: The page at 'https://lipeng.in/' was loaded over HTTPS, but requested an insecure script 'http://lipeng.in/wp-content/themes/Kratos-master/js/kratos.js?ver=2.6'. This request has been blocked; the content must be served over HTTPS.
lipeng.in/:1 Mixed Content: The page at 'https://lipeng.in/' was loaded over HTTPS, but requested an insecure script 'http://lipeng.in/wp-includes/js/wp-embed.min.js?ver=4.9.8'. This request has been blocked; the content must be served over HTTPS.
lipeng.in/:1 Mixed Content: The page at 'https://lipeng.in/' was loaded over HTTPS, but requested an insecure image 'http://lipeng.in/wp-content/themes/Kratos-master/images/background.jpg'. This content should also be served over HTTPS.
lipeng.in/:1 Mixed Content: The page at 'https://lipeng.in/' was loaded over HTTPS, but requested an insecure stylesheet 'http://lipeng.in/wp-content/themes/Kratos-master/css/animate.min.css?ver=3.5.1'. This request has been blocked; the content must be served over HTTPS.
lipeng.in/:1 Mixed Content: The page at 'https://lipeng.in/' was loaded over HTTPS, but requested an insecure stylesheet 'http://lipeng.in/wp-content/themes/Kratos-master/css/font-awesome.min.css?ver=4.7.0'. This request has been blocked; the content must be served over HTTPS.
lipeng.in/:1 Mixed Content: The page at 'https://lipeng.in/' was loaded over HTTPS, but requested an insecure stylesheet 'http://lipeng.in/wp-content/themes/Kratos-master/css/bootstrap.min.css?ver=3.3.7'. This request has been blocked; the content must be served over HTTPS.
lipeng.in/:1 Mixed Content: The page at 'https://lipeng.in/' was loaded over HTTPS, but requested an insecure stylesheet 'http://lipeng.in/wp-content/themes/Kratos-master/css/superfish.min.css?ver=r7'. This request has been blocked; the content must be served over HTTPS.
lipeng.in/:1 Mixed Content: The page at 'https://lipeng.in/' was loaded over HTTPS, but requested an insecure stylesheet 'http://lipeng.in/wp-content/themes/Kratos-master/css/layer.min.css?ver=2.6'. This request has been blocked; the content must be served over HTTPS.
lipeng.in/:1 Mixed Content: The page at 'https://lipeng.in/' was loaded over HTTPS, but requested an insecure stylesheet 'http://lipeng.in/wp-content/themes/Kratos-master/style.css?ver=2.6'. This request has been blocked; the content must be served over HTTPS.
使用道具 举报 回复 支持 反对
发表于 2018-11-3 11:38:52 | 显示全部楼层
2293310198 发表于 2018-11-1 22:30
Waterfall
6 requests ❘ 0 B transferred

谢谢了,看不明白!
能给出方法吗?
使用道具 举报 回复 支持 反对
发表于 2018-11-3 17:59:26 | 显示全部楼层
把你网站里的所有页面都改成https
在你网站后台里改下
使用道具 举报 回复 支持 反对
发表于 2018-11-4 06:18:15 | 显示全部楼层
xyz9007 发表于 2018-11-3 17:59
把你网站里的所有页面都改成https
在你网站后台里改下

谢谢,已正常~~

这个改了和SSL那里的强制SSL有何区别?
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表