URL Rewrite not working in mesh east-west traffic

When we are sending the request through a gateway then the rewrite rule defined at virtual service is working but when we are sending requests through internal mesh connection or east-west traffic then rewrite is not working.

Could you share more details?
if the request doesn’t go through the gateway it won’t use the virtual service settings even

It depends on the gateway you mentioned in the vs. If you mentioned the istio gateway thenit would mean the north-south traffic. If you haplen to mention the gateway and “mesh” then it applies to all the side cars in the mesh
Like so…

- default/ingressgateway
- mesh
1 Like