From c6257b30c1a7140c18a865faf7c6ee1b04a33114 Mon Sep 17 00:00:00 2001 From: David Moravek Date: Mon, 31 Oct 2016 23:14:48 +0100 Subject: [PATCH] Take grafana-cli proxy settings from env --- pkg/cmd/grafana-cli/services/services.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/cmd/grafana-cli/services/services.go b/pkg/cmd/grafana-cli/services/services.go index 08a4bf4693e..8f901046edb 100644 --- a/pkg/cmd/grafana-cli/services/services.go +++ b/pkg/cmd/grafana-cli/services/services.go @@ -25,6 +25,7 @@ func Init(version string) { grafanaVersion = version tr := &http.Transport{ + Proxy: http.ProxyFromEnvironment, TLSClientConfig: &tls.Config{InsecureSkipVerify: false}, }