alibaba / tengine-ingress

Tengine Ingress Controller for Kubernetes
https://tengine.taobao.org
Apache License 2.0
115 stars 23 forks source link

TLS: supprts multi default ssl certificates #84

Closed lianglli closed 1 year ago

lianglli commented 1 year ago

Configmap:

custom-port-domain: '443: xxx.com, 2443: yyy.com'

If the TLS client hello has not SNI and TLS server port is 443, tengine-ingress will use the default secret resource which has the domain xxx.com.

If the TLS client hello has not SNI and TLS server port is 2443, tengine-ingress will use the default secret resource which has the domain yyy.com.