code: func NewWithTLSConfig(config *tls.Config, followNonLocalRedirects bool) Prober {
  	// We do not want the probe use node's local proxy set.
  	transport := utilnet.SetTransportDefaults(
  		&http.Transport{
  			TLSClientConfig:   config,
  			DisableKeepAlives: true,
  			Proxy:             http.ProxyURL(nil),
  		})
  	return httpProber{transport, followNonLocalRedirects}
  }
docs: // NewWithTLSConfig takes tls config as parameter.
  // followNonLocalRedirects configures whether the prober should follow redirects to a different hostname.
  //   If disabled, redirects to other hosts will trigger a warning result.