Browse Source

fix proxy

Victor Vieux 12 years ago
parent
commit
06b585ce8a
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{