I have a virtual service yaml file with below lines.
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: nodeserver
spec:
hosts:
- "*"
gateways:
- node-gateway
http:
- match:
- uri:
exact: /
- uri:
exact: /sample1
- uri:
exact: /sample2
route:
- destination:
host: node-service
port:
number: 8080
Here, Instead of /sample1
and /sample2
as two url matches, can I assign something like *
to route all traffic to node-service by default?
Also, if the webpage has hyperlinks inside it will Istio redirect them by default or need to add any custom configuration for that?