mirror of https://github.com/docker/docs.git
fix proxy
This commit is contained in:
parent
10ef4f7f39
commit
06b585ce8a
|
@ -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 New Issue