Open
Description
I have a development backend running on HTTPS with a self-signed certificate. With the angular-http-server I proxy all /api
requests to this server. The problem is that the proxy won't make a request to this "insecure" backend.
This problem could be solved with a configuration option for secure/insecure requests. With this feature, the config would be as following.
const config = {
proxy: [
{
forward: ["api"],
target: "192.168.56.101:8080",
protocol: "https",
secure: false
}
]
}
The node-http-proxy library used in this project allows the secure option to be configured. (Proxy Options)
Metadata
Metadata
Assignees
Labels
No labels