code-server port forward issue
Hi, I am having some issues with port forword when running code-server in the browser.
I have setup coder in Kubernetes ( with nginx ingress ). When I create Workspace in coder , start code-server and start , eg Tomcat on port 8080, VS will automatically create Port/Forwarded Address as https://coder.mydomain.com/%40barrow/coder-example.main/apps/code-server/proxy/8080/ I can access the tomcat entry page fine, however, all other links in the page will have "/%40barrow/coder-example.main/apps/code-server/proxy/8080/" cut off which cause all these link broken. how do I preserve "/%40barrow/coder-example.main/apps/code-server/proxy/8080/" ?
I have setup coder in Kubernetes ( with nginx ingress ). When I create Workspace in coder , start code-server and start , eg Tomcat on port 8080, VS will automatically create Port/Forwarded Address as https://coder.mydomain.com/%40barrow/coder-example.main/apps/code-server/proxy/8080/ I can access the tomcat entry page fine, however, all other links in the page will have "/%40barrow/coder-example.main/apps/code-server/proxy/8080/" cut off which cause all these link broken. how do I preserve "/%40barrow/coder-example.main/apps/code-server/proxy/8080/" ?
3 Replies
<#1318711852682969168>
Category
Help needed
Product
code-server
Platform
Linux
Logs
Please post any relevant logs/error messages.
after some research here, my issues is I have to enable "Port Forwarding" by adding
CODER_WILDCARD_ACCESS_URL
the baseurl issue is resolved@noodles0231 closed the thread.