Add support for standard proxy env vars in outputs. (#3212)

(cherry picked from commit 7b08f9d099)
This commit is contained in:
Daniel Nelson
2017-10-03 15:26:44 -07:00
committed by Daniel Nelson
parent 9cf19df04e
commit eca00c10e0
4 changed files with 11 additions and 0 deletions
+1
View File
@@ -53,6 +53,7 @@ func NewHTTP(config HTTPConfig, defaultWP WriteParams) (Client, error) {
}
} else {
transport = http.Transport{
Proxy: http.ProxyFromEnvironment,
TLSClientConfig: config.TLSConfig,
}
}