func (ep forwardEndpoint) Handler(templates *template.Template, ci inject.CopyInject) httpctx.Handler { u := url.URL(ep) rp := reverseproxy.NewSingleHostReverseProxy(&u, ci) rp.Transport = &http.Transport{ TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, } return rp }
func (ep forwardEndpoint) Handler(templates *template.Template, ci inject.CopyInject) httpctx.Handler { u := url.URL(ep) return reverseproxy.NewSingleHostReverseProxy(&u, ci) }