Comments (4)
内网机器是纯内网环境吗?能不能访问外网?另外搭建时用的是什么?如果搭建的时候用的是 Goproxy 且能够访问外网的话,那你可以为你的 Goproxy 配置上游代理,给它配置成 GOPROXY=https://goproxy.cn
即可,同时也别忘了把你们的内部代码源配置进 GOPRIVATE
。
from goproxy.cn.
内网机器是纯内网环境吗?能不能访问外网?另外搭建时用的是什么?如果搭建的时候用的是 Goproxy 且能够访问外网的话,那你可以为你的 Goproxy 配置上游代理,给它配置成
GOPROXY=https://goproxy.cn
即可,同时也别忘了把你们的内部代码源配置进GOPRIVATE
。
机器是可以访问外网的。 而且其他外网资源 比如:github 是可以正常拉取的
from goproxy.cn.
跑 Goproxy 服务的机器如果网络畅通,那可以选择直接为 Goproxy 进程配置 GOPROXY=direct
和 GOSUMDB=off
。需要注意如果没有配置的话它们是有默认值的,默认值是 GOPROXY=https://proxy.golang.org,direct
和 GOSUMDB=sum.golang.org
,所以最好是手动配置下。
from goproxy.cn.
鉴于长时间未回复,这个 issue 我就先关闭了,如果还有其他问题欢迎随时提问。
from goproxy.cn.
Related Issues (20)
- 问题:拉取私有仓库代码问题
- 问题:建议goproxy.cn页面的使用指南,去掉两个$符号,方便复制;同时也可以加一个便捷复制按钮; HOT 1
- 问题:github上上传了我的项目,并创建了release,需要多久才能从goproxy.cn获取到我上传的项目的依赖 HOT 1
- 问题:force push 同一版本号后如何刷新代理上的缓存 HOT 4
- 问题:统计数据近30日的数据都是0,是异常还是数据本来是0? HOT 1
- 问题: HOT 1
- Bug: Cant fetch https://github.com/klauspost/compress HOT 5
- 问题:如何引用私有仓库的子项目 HOT 2
- 问题:如果不小心把隐私信息存储到包中,goproxy.cn这边缓存了,那么如何清除掉缓存呢? HOT 1
- 问题:wget下载模块下的某个包 HOT 2
- 问题:如何通过公司内网代理来访问? HOT 3
- 问题: verifying module: invalid GOSUMDB: malformed verifier id HOT 2
- 问题:配置了 go proxy,还是出现下载失败的问题 HOT 4
- 问题:https://goproxy.cn/ 网站出问题了么 ,拉取go 模块网关报504,500 HOT 19
- 访问504 HOT 1
- 问题:https://goproxy.cn/sumdb/sum.golang.org/supported 404 HOT 1
- 问题:go: module gioui.org: Get "https://goproxy.cn/gioui.org/@v/list": net/http: TLS handshake timeout,总是报这个错 HOT 3
- IPv6支持 HOT 1
- 问题:使用代理后无法go get google.golang.org/grpc HOT 4
- 问题:无法获取最新的go-delve模块对go程序进行调试 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goproxy.cn.