摘要: 服务端配置 [common] bind_port = 7000 #绑定的IP vhost_http_port = 7008 #监听的IP 本地配置 [common] server_addr = 120.24.*.* #服务端IP地址 server_port = 7000 #服务端绑定的端口 [git 阅读全文
posted @ 2020-03-12 11:58 suruozhong 阅读(2703) 评论(0) 推荐(0) 编辑
摘要: 修改配置文件 /etc/gitlab/gitlab.rb # 让gitlab的内置nginx监听9002端口 nginx['listen_port'] = 9002 # 设置gitlab的访问路径(是通过外部nginx反向代理访问的) external_url 'http://域名/git' # 让 阅读全文
posted @ 2020-03-12 11:51 suruozhong 阅读(3070) 评论(0) 推荐(0) 编辑