V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
wangjordy
V2EX  ›  问与答

ubuntu server 配置gitlab如何修改localhost

  •  
  •   wangjordy · 2013-09-16 17:22:05 +08:00 · 4066 次点击
    这是一个创建于 3902 天前的主题,其中的信息可能已经有所发展或是发生改变。
    在ubuntu server11.04下配置好了git server使用的图形化管理软件是gitlab,但是创建一个新工程后显示的url为
    ssh: git@localhost:wang/fdas.git
    http: http://localhost/wang/fdas.git
    我想把上面的localhost替换为自己的域名, 比方我的域名叫gitlab.test.com
    请问应该如何修改。
    自己在gitlab/config/gitlab.yml 修改了所有的host 为gitlab.test.com这个域名,
    但重启gitlab,nginx后,还是显示上述的url。
    请大神帮忙,看看应该配置哪个文件?
    1 条回复    1970-01-01 08:00:00 +08:00
    zxc111
        1
    zxc111  
       2013-09-17 13:47:22 +08:00
    对应gitlab-shell/config.yml也要改
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1556 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 17:08 · PVG 01:08 · LAX 10:08 · JFK 13:08
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.