diff --git a/proxy/router.go b/proxy/router.go index c86e7a7..7eadad8 100644 --- a/proxy/router.go +++ b/proxy/router.go @@ -59,6 +59,7 @@ func NewRouter(srv *Server, opts *RouterOptions) *Router { rt.proxy = proxy rt.proxy.Transport = &http.Transport{ + Proxy: http.ProxyFromEnvironment, TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, } rt.proxy.ModifyResponse = func(r *http.Response) error {