Browse Source

Merge pull request #810 from dotcloud/proxy-fix

fix regression on proxy
Sam Alba 12 years ago
parent
commit
c566c8efc7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      registry/registry.go

+ 1 - 0
registry/registry.go

@@ -479,6 +479,7 @@ func NewRegistry(root string) *Registry {
 
 	httpTransport := &http.Transport{
 		DisableKeepAlives: true,
+		Proxy: http.ProxyFromEnvironment,
 	}
 
 	r := &Registry{