I am facing some challenge to forward request from Cloudfront to istio. I have a service running with istio-gateway host configured as
apiVersion: networking.istio.io/v1beta1 kind: VirtualService metadata: name: <name> namespace: <namespace> spec: gateways: - <gateway> hosts: - <host> http: - corsPolicy: allowCredentials: true allowHeaders: ......... ..........
I also have Cloudfront being configured for my UI. I want to make an URL relative to my UI so, I have configured some behavior as
/login which I want to forward to this above host. However, it is not able to forward the request.
- I tried matching the TLS protocol both side
- matched ACM certificate entry as well
but still getting 404 on this. Any help would be greatly appreciated.