mirror of
https://github.com/traefik/traefik.git
synced 2025-08-17 12:07:07 +02:00
insecureSkipVerify for the passTLSCert transport
This commit is contained in:
parent
c289279d24
commit
5fed947eaa
@ -211,6 +211,7 @@ func (s *Server) getRoundTripper(entryPointName string, passTLSCert bool, tls *t
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("failed to create TLSClientConfig: %v", err)
|
return nil, fmt.Errorf("failed to create TLSClientConfig: %v", err)
|
||||||
}
|
}
|
||||||
|
tlsConfig.InsecureSkipVerify = s.globalConfiguration.InsecureSkipVerify
|
||||||
|
|
||||||
transport, err := createHTTPTransport(s.globalConfiguration)
|
transport, err := createHTTPTransport(s.globalConfiguration)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user