From bc026781065a456b4bf6cecb6038f0cb0ae8e6dc Mon Sep 17 00:00:00 2001 From: Joao Morais Date: Wed, 5 Apr 2017 22:32:19 -0300 Subject: [PATCH] Use SSLPassthrough if is Backend.Secure --- core/pkg/ingress/controller/controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/pkg/ingress/controller/controller.go b/core/pkg/ingress/controller/controller.go index ba15591c0..2bb42fd86 100644 --- a/core/pkg/ingress/controller/controller.go +++ b/core/pkg/ingress/controller/controller.go @@ -697,7 +697,7 @@ func (ic *GenericController) getBackendServers() ([]*ingress.Backend, []*ingress isHTTPSfrom = append(isHTTPSfrom, server) } } - } else { + } else if !upstream.Secure { isHTTP = true } }