Skip to content

Commit

Permalink
Merge pull request #117 from mortymacs/http-proxy
Browse files Browse the repository at this point in the history
Add HTTP proxy option #94
  • Loading branch information
atkrad authored Nov 12, 2022
2 parents 2a3e194 + 0f2f28f commit 638d16f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/checker/http/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ func (h *HTTP) Check(ctx context.Context) (err error) {
Timeout: h.timeout,
Transport: &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: h.insecureSkipTLSVerify},
Proxy: http.ProxyFromEnvironment,
},
}

Expand Down

0 comments on commit 638d16f

Please sign in to comment.