Skip to content

Proxy to backend for WebSocket #6081

Description

It's perfectly working for Http, but not for WebSocket. I did not find the documentation about this. How can I do proxy for WS?
ng serve --proxy-config proxy.conf.json
proxy.conf.json:

{
"/": {
"target": "http://localhost:8080",
"secure": false
}
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions