forked from TrueCloudLab/distribution
Merge pull request #810 from dotcloud/proxy-fix
fix regression on proxy
This commit is contained in:
commit
767c90c252
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