I need to listen on HTTPS - SSL on port other than 443, I don't see any way to do it.
the reason I don't use TCP load balancing is that the load balancer listen on SSL and the backend listen on HTTP (works great on AWS).
any idea?
1 Answers
It is not possible at the moment, constraint is listed in REST API reference documentation, see at https://cloud.google.com/compute/docs/reference/rest/v1/globalForwardingRules
portRange string
This field is used along with the target field for TargetHttpProxy, TargetHttpsProxy, TargetSslProxy, TargetTcpProxy, TargetVpnGateway, TargetPool, TargetInstance.
Applicable only when IPProtocol is TCP, UDP, or SCTP, only packets addressed to ports in the specified range will be forwarded to target. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint port ranges.
Some types of forwarding target have constraints on the acceptable ports:
TargetHttpProxy: 80, 8080
TargetHttpsProxy: 443
TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688, 1883, 5222
TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688, 1883, 5222
TargetVpnGateway: 500, 4500