You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
We need to rewrite next call:
https://servername.domain/uat-s-ci/test but the service needs to receive https://servername.domain/test call
In the user browser needs to remain https://servername.domain/uat-s-ci/test
We some differents config but it didn't work, always receive 404 error (not found):
{
"error": {
"errorCode": 404,
"errorDateTime": "2024-05-09T12:17:59",
"errorMessage": "/uat-s-ci/test",
"errorDescription": "error",
"messageUID": "2cc72e40-0dfe-11ef-ad5b-46ffaf3bbc08"
}
}
the virtualservice config is that:
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: apitestllica.intranet.mango.es-vs
namespace: 3912f7f1-e711-40ee-8af3-60586a5547c6
spec:
gateways:
- mng-gateway
hosts:
- apitestllica.intranet.mango.es
http:
- match:
- uri:
prefix: /uat-s-ci/
- uri:
exact: /uat-s-ci
rewrite:
uri: /
route:
- destination:
host: uat-s-ci
port:
number: 8081
I'm rookie in Istio configs. But I think that I'm not so far to find the solution.
Does anyone ideas about what's wrong?
Thnksin advanced
Beta Was this translation helpful? Give feedback.
All reactions