I want to proxy all requests from local /api/v2 to https://somedomain.com/api/v2, I have such proxy js config:
{
"/api/v2/*":
{
"target": "https://somedomain.com",
"secure": false,
"logLevel": "debug",
"changeOrigin": true
}
}
But this config does not work as I've expected, here is example:
from /api/v2/some/test to https://somedomain.com/api/v2/some/test
But it seems this does not work correctly, here what I see in console:
[HPM] GET /api/v2/some/test -> https://somedomain.com
"secure": true