Use SSLPassthrough if is Backend.Secure

This commit is contained in:
Joao Morais 2017-04-05 22:32:19 -03:00
parent ed6987e716
commit bc02678106

View file

@ -697,7 +697,7 @@ func (ic *GenericController) getBackendServers() ([]*ingress.Backend, []*ingress
isHTTPSfrom = append(isHTTPSfrom, server)
}
}
} else {
} else if !upstream.Secure {
isHTTP = true
}
}