proxy: implement internal_host_ssl_validation option
This commit is contained in:
		| @ -50,7 +50,7 @@ func getCommonOptions() *options.Options { | ||||
| 	commonOpts.SkipProviderButton = true | ||||
| 	commonOpts.Logging.SilencePing = true | ||||
| 	commonOpts.SetXAuthRequest = true | ||||
| 	commonOpts.SetAuthorization = true | ||||
| 	commonOpts.SetAuthorization = false | ||||
| 	return commonOpts | ||||
| } | ||||
|  | ||||
|  | ||||
| @ -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, | ||||
| 		}, | ||||
| 	} | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer