Redirecto to external proxy

Hello,

I want to redirect flux in specific proxy like the folowing illustration:

I try the following docs but my needs are little different. I don’t want that my apps needs to specify the proxy address. I want that Istio redirect to the proxy when domain is not in locaol or domain

1

I try to do this by the following config:
2
3

But have this issue when I try to curl this url
4

Anyone can help ?

2

3
api_insee2

4 api_insee3