fix proxy
This commit is contained in:
parent
30421a801d
commit
93c7079f89
1 changed files with 1 additions and 0 deletions
|
@ -479,6 +479,7 @@ func NewRegistry(root string) *Registry {
|
||||||
|
|
||||||
httpTransport := &http.Transport{
|
httpTransport := &http.Transport{
|
||||||
DisableKeepAlives: true,
|
DisableKeepAlives: true,
|
||||||
|
Proxy: http.ProxyFromEnvironment,
|
||||||
}
|
}
|
||||||
|
|
||||||
r := &Registry{
|
r := &Registry{
|
||||||
|
|
Loading…
Reference in a new issue