Skip to content

Proxy to backend for WebSocket #6081

Closed
Closed

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

  1. ghost closed this as completedon Apr 25, 2017
  2. lidebug commented on Jul 29, 2017

    @lidebug
    {
      "/ws": {
        "target": "ws://localhost:8000",
        "secure": false,
        "ws": true
      }
    }
  3. angular-automatic-lock-bot commented on Jun 3, 2021

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  4. locked and limited conversation to collaborators on Jun 3, 2021
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