BaseURL / root path has changed with port forward in coder-server #7115
Unanswered
br-barrowkwan
asked this question in
General
Replies: 1 comment
-
I think you can make this work by:
So, https://coder.mydomain.com/@barrowk/coder-test.main/apps/code-server/absproxy/8080/image/abc.png for example should work after that, I believe. Unfortunately, the ports panel always uses |
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
-
I am sure I have missed a configuration but not sure which is it.
I am running coder in Kubernetes with nginx ingress. I created a workspace, start coder-server and run tomcat on port 8080 in coder terminal
code-server automatically create the port fowarding with a local address
https://coder.mydomain.com/@barrowk/coder-test.main/apps/code-server/proxy/8080/
when I access my app , eg
https://coder.mydomain.com/@barrowk/coder-test.main/apps/code-server/proxy/8080/test/helloworld
this works fine. however, all links inside this page has broken because it points to the coder server url.
eg
https://coder.mydomain.com/@barrowk/coder-test.main/apps/code-server/proxy/8080/image/abc.png
become
https://coder.mydomain.com/image/abc.png
the proxy part "@barrowk/coder-test.main/apps/code-server/proxy/8080" has removed by the port forwarding.
Beta Was this translation helpful? Give feedback.
All reactions