Skip to content

Incorrect root url detection for WebSocket with any non-root url path #101

@ICEFIR

Description

@ICEFIR
  • code-server version: 1.0.0
  • OS Version: Debian 9, With docker deployment

Steps to Reproduce

  1. Setup Nginx reverse proxy to a different path - i.e. to something.something.com/vscode/
  2. Login works fine, but upon vscode page, it's just a blank page. Client browser console shows its trying to connect to wss://something.somthing.com/, without the correct root-relative path (something.something.com/vscode/), which.... obvious will not work.

Also, I did not find any documentation (or config in general) related to this type of deployment... guess that probably can be improved a bit?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions