gcp https load-balancer Frontend 是否可以侦听 443 以外的端口?
Is gcp https load-balancer Frontend can listen on port other than 443?
我需要在 443 以外的端口上监听 HTTPS - SSL,我看不出有什么办法。
我不使用 TCP 负载平衡的原因是负载平衡器侦听 SSL 而后端侦听 HTTP(在 AWS 上运行良好)。
任何的想法?
目前不可能,REST API 参考文档中列出了约束,请参阅 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
我需要在 443 以外的端口上监听 HTTPS - SSL,我看不出有什么办法。
我不使用 TCP 负载平衡的原因是负载平衡器侦听 SSL 而后端侦听 HTTP(在 AWS 上运行良好)。
任何的想法?
目前不可能,REST API 参考文档中列出了约束,请参阅 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