在 toran 代理配置中禁用 https
Disable https in toran proxy config
我试图在 toran 代理中添加一个由 http(而非 https)引导的私有存储库。但是,如果我添加此存储库,toran 会显示此消息:
[Composer\Downloader\TransportException] 您的配置不允许连接到 http://foo.bar.de/scm/hp/foo-wp-theme.git. See https://getcomposer.org/doc/06-config.md#secure-http 以获取详细信息。
我想知道在哪里更改配置,以便允许使用 http 通道。
任何帮助都会很好。
感谢
它在 app/toran/composer/config 中处理。json:
{
"config": {
"secure-http" : false
}
}
我试图在 toran 代理中添加一个由 http(而非 https)引导的私有存储库。但是,如果我添加此存储库,toran 会显示此消息:
[Composer\Downloader\TransportException] 您的配置不允许连接到 http://foo.bar.de/scm/hp/foo-wp-theme.git. See https://getcomposer.org/doc/06-config.md#secure-http 以获取详细信息。
我想知道在哪里更改配置,以便允许使用 http 通道。
任何帮助都会很好。
感谢
它在 app/toran/composer/config 中处理。json:
{
"config": {
"secure-http" : false
}
}