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/" ?
3 Replies
Codercord
Codercord7d ago
<#1318711852682969168>
Category
Help needed
Product
code-server
Platform
Linux
Logs
Please post any relevant logs/error messages.
noodles0231
noodles0231OP7d ago
after some research here, my issues is I have to enable "Port Forwarding" by adding CODER_WILDCARD_ACCESS_URL the baseurl issue is resolved
Codercord
Codercord7d ago
@noodles0231 closed the thread.

Did you find this page helpful?