mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Take grafana-cli proxy settings from env
This commit is contained in:
parent
658fc1a67a
commit
c6257b30c1
@ -25,6 +25,7 @@ func Init(version string) {
|
|||||||
grafanaVersion = version
|
grafanaVersion = version
|
||||||
|
|
||||||
tr := &http.Transport{
|
tr := &http.Transport{
|
||||||
|
Proxy: http.ProxyFromEnvironment,
|
||||||
TLSClientConfig: &tls.Config{InsecureSkipVerify: false},
|
TLSClientConfig: &tls.Config{InsecureSkipVerify: false},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user