change to InsecureBackends flag

This commit is contained in:
Willy Kloucek
2020-12-03 13:57:19 +01:00
parent 4c9d990478
commit fe2efc3c46
3 changed files with 4 additions and 4 deletions

View File

@@ -54,7 +54,7 @@ func NewMultiHostReverseProxy(opts ...Option) *MultiHostReverseProxy {
TLSHandshakeTimeout: 10 * time.Second,
ExpectContinueTimeout: 1 * time.Second,
TLSClientConfig: &tls.Config{
InsecureSkipVerify: options.Config.Insecure,
InsecureSkipVerify: options.Config.InsecureBackends,
},
}