gitlab 搭建go modules私有仓库
重点:
1.go get需要用域名的方式。 2.go get默认访问的是https。
目前策略
go get ---> nginx(ssl 反代gitlab)-->gitlab
实现
go get gittest.xxxx.com/Goland/gotogit
以gitlab(192.168.128.128)仓库为例测试
1.域名准备
1.1 域名分配
1.2 域名解析
gittest.xxxx.com 192.168.128.128
2.准备https(gittest.xxxx.com)反向代理
2.1 申请ssl...