Updated proxy settings in orborus and worker

This commit is contained in:
frikky
2020-07-07 07:50:00 +02:00
parent 2ece629a62
commit 00b17f9617
5 changed files with 102 additions and 33 deletions
+4
View File
@@ -6157,6 +6157,10 @@ func runInit(ctx context.Context) {
if len(httpProxy) > 0 {
log.Printf("Running with HTTP proxy %s (env: HTTP_PROXY)", httpProxy)
}
httpsProxy := os.Getenv("HTTPS_PROXY")
if len(httpsProxy) > 0 {
log.Printf("Running with HTTPS proxy %s (env: HTTPS_PROXY)", httpsProxy)
}
/*
proxyUrl, err := url.Parse(httpProxy)