ector:
    istio: my-ingressgateway
  servers:
  - hosts:
    - &#39;*.mydemo.com&#39;
    port:
      name: http
      number: 80
      protocol: HTTP
    tls:
      httpsRedirect: true
  - hosts:
    - &#39;*.mydemo.com&#39;
    port:
      name: https
      number: 443
      protocol: HTTPS
    tls:
      mode: SIMPLE
      privateKey: /etc/istio/ingressgateway-certs/tls.key
      serverCertificate: /etc/istio/ingressgateway-certs/tls.crt</code></pre></li><li><p>使用 <code>VirtualService</code> 连接 