Pet*_*uss 9 git webserver redirect
(假设)我有自己的git,所以你可以这样做
git clone https://official.example.org/myproject.git
Run Code Online (Sandbox Code Playgroud)
但是,在我的服务器上,official.example.org我想将它重定向到Github.如何在UBUNTU 16LTS标准git-server上做到这一点?它是一种常见的Web服务器重定向(例如Apache)还是需要特殊准备?
据我所知,这是不可能的。在 Github 上,旧的存储库将被重定向到同一域中的新存储库,这是这里的要点。
尝试将ficial.example.org重定向到github.com会破坏证书链,使其无法处理。