Encryption Phabricator:在https上运行,不';不要加载任何图像。Firefox报告阻止未加密内容

Encryption Phabricator:在https上运行,不';不要加载任何图像。Firefox报告阻止未加密内容,encryption,https,phabricator,Encryption,Https,Phabricator,Phabricator:通过https运行,不加载任何图像。Firefox报告阻止未加密的内容 如果我单击“https”旁边的小屏蔽,然后用“选项”按钮选择“暂时禁用保护”,事情看起来会很顺利 我在phabricator.production-uri和phabricator.allowed-uris中添加了https://但没有运气。找到它: bin/config set phabricator.base-uri https://<your-base-url> bin/phd res

Phabricator:通过https运行,不加载任何图像。Firefox报告阻止未加密的内容

如果我单击“https”旁边的小屏蔽,然后用“选项”按钮选择“暂时禁用保护”,事情看起来会很顺利

我在phabricator.production-uri和phabricator.allowed-uris中添加了https://但没有运气。

找到它:

bin/config set phabricator.base-uri https://<your-base-url>
bin/phd restart
bin/config set phabricator.base-uri https://
bin/phd重启
我之前在phabricator.production-uri和phabricator.allowed-uris中添加了https url(我不知道这是否重要)


警告:在某一点上,我能够完成登录屏幕的混乱。可能是因为我没有运行
bin/phd restart
。如果发生这种情况,请将phabricator.base uri还原为其以前的值。

安装TLS证书后,我也遇到了同样的问题。 设置基本uri选项对我来说不起作用,生产或允许的uri选项也不起作用

解决方法是将security.alternate file domain参数设置为https url,如下所述:

也许这不是最佳解决方案,但不清楚还能做什么


我的设置:Bitnami Phabricator通过AWS预先配置的实例

除了设置phabricator.base uri之外,您可能还需要更改security.alternate file domain以使用HTTPS。阅读以了解有关此设置的更多信息


或者,您可以通过运行
bin/config delete security来简单地删除设置。替代文件域

看起来现在的方法是创建一个
support/preamble.php
,它只包含

<?php

$_SERVER['HTTPS'] = true;

谢谢你的提示!