Skip to content

code-server with the --proxy-domain #6091

Closed

Description

@a224327780
  • log
[2023-03-21T03:41:18.044Z] info  HTTP server listening on http://0.0.0.0:7071/
[2023-03-21T03:41:18.044Z] info    - Authentication is enabled
[2023-03-21T03:41:18.044Z] info      - Using password from $PASSWORD
[2023-03-21T03:41:18.044Z] info    - Not serving HTTPS
[2023-03-21T03:41:18.044Z] info    - Proxying the following domain:
[2023-03-21T03:41:18.044Z] info      - *.code-server.xxx.xyz

image

Activity

  1. code-asher commented on Mar 21, 2023

    @code-asher
    Member

    Yeah this is confusing, currently we default to the path-based proxy even if a proxy domain is set.

    There is an issue for it here: #5311

    For now the workaround is to manually set the VSCODE_PROXY_URI environment variable to https://{{port}}.code-server.xxx.xyz.

    More discussion here: #6092

  2. repo-ranger commented on Mar 21, 2023

    @repo-ranger
    Contributor

    ⚠️ This issue has been marked duplicate and will be closed in 2 days.

  3. a224327780 commented on Mar 22, 2023

    @a224327780
    Author

    Yeah this is confusing, currently we default to the path-based proxy even if a proxy domain is set.

    There is an issue for it here: #5311

    For now the workaround is to manually set the VSCODE_PROXY_URI environment variable to https://{{port}}.code-server.xxx.xyz.

    ➜  workspace echo $VSCODE_PROXY_URI
    https://{{port}}.code-server.xxx.xyz
    
    • Setting environment variables still doesn't work
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions