Not understanding the function of --proxy-domain #6110
Unanswered
edwardwoolls
asked this question in
Q&A
Replies: 1 comment
-
Are you talking about the ports panel? Unfortunately that still defaults to the path-based proxy. We need to make it use the domain-based proxy when It is possible to force the panel to use the right proxy by setting
Then point |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I currently have code-server set up and running on Centos 9, but I am having trouble understanding the use of the "--proxy-domain" option. I've setup up my Caddyfile to display "localhost:3000" on "3000.domain.tld", which works even if I run code-server without the "--proxy-domain" option. That led me to think it would use port.domain.tld when I run dev on code-server, but it doesn't. It still goes to "domain.tld/proxy/3000". Can someone please explain this to me? I may be using the option incorrectly or missing a step. At this point, I am considering redirecting "/proxy/xxx" to "xxx.domain.tld" instead.
Beta Was this translation helpful? Give feedback.
All reactions