Take grafana-cli proxy settings from env

This commit is contained in:
David Moravek 2016-10-31 23:14:48 +01:00
parent 658fc1a67a
commit c6257b30c1

View File

@ -25,6 +25,7 @@ func Init(version string) {
grafanaVersion = version
tr := &http.Transport{
Proxy: http.ProxyFromEnvironment,
TLSClientConfig: &tls.Config{InsecureSkipVerify: false},
}