wangjordy
V2EX  ›  问与答

ubuntu server 配置gitlab如何修改localhost

  •  
  •   wangjordy · Sep 16, 2013 · 4605 views
    This topic created in 4629 days ago, the information mentioned may be changed or developed.
    在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 replies    1970-01-01 08:00:00 +08:00
    zxc111
        1
    zxc111  
       Sep 17, 2013
    对应gitlab-shell/config.yml也要改
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3150 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 00:33 · PVG 08:33 · LAX 17:33 · JFK 20:33
    ♥ Do have faith in what you're doing.