outpost/proxy: fix missing negation for internal host ssl verification

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-10-02 21:17:15 +02:00
parent b285814e24
commit fcd879034c
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ import (
func (a *Application) getUpstreamTransport() http.RoundTripper {
return &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: *a.proxyConfig.InternalHostSslValidation},
TLSClientConfig: &tls.Config{InsecureSkipVerify: !*a.proxyConfig.InternalHostSslValidation},
}
}