mirror of
https://github.com/distribution/distribution.git
synced 2025-06-25 06:52:21 +00:00
fix proxy
This commit is contained in:
parent
30421a801d
commit
93c7079f89
@ -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
Block a user