title: Istio - redirect to https external url
body: <p>I'm trying to setup a simple redirect (not a proxy pass) in istio:</p>
  <pre><code>apiVersion: networking.istio.io/v1alpha3
  kind: VirtualService
  metadata:
    name: test
  spec:
    gateways:
    - test
    hosts:
    - test.com
    http:
    - redirect:
        authority: testredirect.com
        redirectCode: 302
  ---
  apiVersion: networking.istio.io/v1beta1
  kind: Gateway
  metadata:
    name: test
  spec:
    selector:
      istio: ingressgateway
    servers:
    - hosts:
      - test.com
      port:
        name: http
        number: 80
        protocol: HTTP2
  </code></pre>
  <p>This creates a redirect to <code>http://testredirect.com</code></p>
  <p>How do I get this to redirect to <code>http**s**://</code>?</p>
  <p>Notes:</p>
  <ol>
  <li>I tried adding a <code>DestinationRule</code> and <code>ServiceEntry</code>, but that did not help</li>
  <li>we terminate SSL at the load balancer, so our requests come on port 80 non-encrypted</li>
  </ol>