【问题标题】:Disable https in toran proxy config在 toran 代理配置中禁用 https
【发布时间】:2016-07-26 21:12:53
【问题描述】:

我试图在 toran 代理中添加一个由 http(不是 https)引导的私有存储库。但是,如果我添加此存储库,toran 会显示以下消息:

[Composer\Downloader\TransportException] 您的配置不允许连接到http://foo.bar.de/scm/hp/foo-wp-theme.git。详情请见https://getcomposer.org/doc/06-config.md#secure-http

我想知道在哪里更改配置,以便允许使用 http 通道。

任何帮助都会很好。

谢谢

【问题讨论】:

    标签: https toran-proxy


    【解决方案1】:

    它在 app/toran/composer/config.json 中处理:

    {
        "config": {
            "secure-http" : false
        }
    }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-08-19
      • 2020-06-06
      • 2017-06-01
      • 1970-01-01
      • 2021-12-23
      • 1970-01-01
      • 2016-07-26
      • 2015-08-07
      相关资源
      最近更新 更多