
spec:
  hosts:
  - &#34;httpbin.example.com&#34;
  gateways:
  - mygateway
  http:
  - match:
    - uri:
        prefix: /status
    - uri:
        prefix: /delay
    route:
    - destination:
        port:
          number: 8000
        host: httpbin
EOF
</code></pre></li><li><p>用 HTTPS 协议访问 <code>httpbin</code> 服务：</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ curl -v -HHost:httpbin.example.com \
--resolve httpbin.example.com:$SECURE_INGRESS_PORT:$INGRESS_HOST 