openvscode-server icon indicating copy to clipboard operation
openvscode-server copied to clipboard

[Feature Request] Allow openvscode-server to specify URL path prefix

Open BorisPolonsky opened this issue 11 months ago • 3 comments

For running on a k8s cluster with multiple users, we would like to route traffic to each openvscode-server with different subpath, e.g. https://my-website.com/user-123/vscode/ . We would like to request something like this: openvscode-server --base-url=http://my-website.com/user-123/vscode/.

Related user cases and feature implementations

  • https://github.com/microsoft/vscode-remote-release/issues/7032
  • https://github.com/microsoft/vscode/pull/202491

BorisPolonsky avatar Jan 23 '25 05:01 BorisPolonsky

bumping this since i'm also quite interested

paolofacchinetti avatar Feb 18 '25 08:02 paolofacchinetti

This is possible since version 1.97.2 : https://github.com/gitpod-io/openvscode-server/releases/tag/openvscode-server-v1.97.2

jhgoebbert avatar Feb 28 '25 20:02 jhgoebbert

With this feature it is now possible to integrate OpenVSCode-Server (as an extension of jupyter-server-proxy so that it can be started from the launcher within JupyterLab:
https://pypi.org/project/jupyter-openvscodeserver-proxy/ 🥳 🥳 🥳

jhgoebbert avatar Mar 01 '25 10:03 jhgoebbert

Tested with --server-base-path option and worked as expected.

BorisPolonsky avatar May 19 '25 09:05 BorisPolonsky