Angular (no Ionic) with capacitor - shouldInterceptRequest issue

Hi everyone, I am stuck with capacitor configuration for my angular app.

The problem is that when I want to proxy my external server (I set androidScheme and hostname in capacitor config), all xhr requests return 200 and shouldInterceptRequest header. But when I proxy the same server running locally (I set url in capacaitor config), it works fine.

So I have these lines in my capacitor.config.json
"server": { "hostname": "my-domain.com", "androidScheme": "https" }

but never get a proper response.

Any help would be appreciated