我从虚拟主机迁移到了VPS服务器。我的网站是通过https运行的。但是它通过http加载一个图像(latex公式)。在移动到VPS之前,我的站点加载http图像没有问题。但在移动到VPS后,Chrome浏览器停止显示通过http获取的图像。Firefox会显示它们。我应该对VPS服务器配置进行哪些更改,才能让它在Chrome中显示http图像?
view_topic.php
echo '<img align="middle" src="http://fx.ifz.ru/tex2.php?d=120&i=%24%24' . rawurlencode("\\pi") . '%24%24">'; // for clarity i changed $array[$i] to "\\pi". A greek letter pi should be displayed.发布于 2020-10-31 10:38:31
尝试将UTF8字符集元数据添加到head元素,如下所示:
<head>
<meta charset="UTF-8">
</head>发布于 2020-11-06 07:25:05
我认为google chrome进行了自我更新,新版本不允许来自https内部的http请求。
https://stackoverflow.com/questions/64617566
复制相似问题