Skip to content

subdomain opening coder instead of code-server app #6882

Answered by code-asher
VicFleur asked this question in Q&A
Discussion options

You must be logged in to vote

Coder does not forward <port>.<domain> to a workspace, as far as I know, so code-server will never see the request. --proxy-domain is a code-server thing only and Coder has no awareness of it.

Coder has its own proxy, though. If you set it up then you should be able to access a URL like https://<port>--<agent>-- <workspacename>--<user>--apps.dev.coder.com. From the dashboard, if you click into a workspace then in the upper right of the card you should see "Open ports" and clicking on that should let you access any port (so you do not have to type the URL manually).

Also, code-server should integrate with Coder's proxy automatically so if you have it set up, it should automatically be used…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@VicFleur
Comment options

Answer selected by VicFleur
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants