如何处理 https TYPO3 后端中的 "non-https" (http) 站点

How to handle "non-https" (http) sites in https TYPO3 backend

我们 运行 一个 TYPO3 多域系统并为我们的 TYPO3 域添加了 https 支持 [typo3domain]。所有其他域仍然 运行 不支持 https(仅 http)。

https 非常适合 [typo3domain]。 将所有非 https 请求重定向到 TYPO3 后端(lockSSL)也很完美。 [typo3domain]/typo3 自动重定向到 https://[typo3domain]/typo3

现在我们的问题: 如果编辑器 [domain1] 编辑 https://[typo3domain]/typo3 上的一些内容并转到 page -> view page 然后 https://[domain1] 被调用,但这不起作用(无效证书),因为 [domain1] 是非 ssl域名。

我该如何解决这个问题?

您可以在非https站点的根页面TSconfig中设置预览域,包括协议:

TCEMAIN.previewDomain = http://domain1

可在此处找到有关此选项的更多信息:https://docs.typo3.org/typo3cms/TSconfigReference/PageTsconfig/TceMain.html#previewdomain