Skip to content

[FEAT] Support for --abs-proxy-base-path #211

@caph1993

Description

@caph1993

Is this a new feature request?

  • I have searched the existing issues

Wanted change

In order to serve on a base path (an url prefix), code-server has an argument named --abs-proxy-base-path, but this argument is not configurable from the docker arguments.

Reason for change

This is useful for anyone who needs to serve a landing webpage at, say, example.com, and a vscode editor for the webpage at example.com/code.

It is also useful if you want to have different workspaces for different users on the same domain: example.com/user1/workspace with one container and example.com/user2/workspace with a second one.

Proposed code change

Add an if block for --abs-proxy-base-path here and passing the argument here

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions