https://github.com/angular/angular-cli#proxy-to-backend here is an instruction how to do proxying to backend. I did everything step by step and still requests aren\'t proxie
Proxy attribute pathRewrite should be added in the proxy.conf.json.
See the example below.
{
"/services/*": {
"target": "http://yoururl.com",
"secure": false,
"changeOrigin" : true,
"pathRewrite": {
"^/services" : ""
}
}
}
and run ng serve --proxy-config proxy.conf.json
Surely it will work.