proxy: implement internal_host_ssl_validation option

This commit is contained in:
Jens Langhammer
2020-09-23 12:21:19 +02:00
parent 6458b1dbf8
commit 9f6f18f9bb
4 changed files with 14 additions and 11 deletions

View File

@ -58,9 +58,10 @@ func (pb *providerBundle) prepareOpts(provider *models.ProxyOutpostConfig) *opti
providerOpts.UpstreamServers = []options.Upstream{
{
ID: "default",
URI: *provider.InternalHost,
Path: "/",
ID: "default",
URI: *provider.InternalHost,
Path: "/",
InsecureSkipTLSVerify: *&provider.InternalHostSslValidation,
},
}