Skip to content

Proxy config secure flag #54

Description

@tomtucker18

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions