Sub-path reverse-proxying with Coder

From @STRONG.CODΞ in https://discord.com/channels/747933592273027093/971231372373033030/1239657571099607100

---

Hey,
im having a little trouble with the network configs. Im hosting code-server in docker and didnt change much except the passwords and config location. The only problem I have now is that if im hosting lets say a page with expressJS and im using a seperate css and js file which are located in /public i cant access them because:
1. [port].sub.domain.com cant be accessed so I need to use sub.domain.com/proxy/[port].
2. When using sub.domain.com/proxy/3000 its trying to get the css file from sub.domain.com/proxy/style.css which is not a file.

I hope you are able to understand my problem nd may be able to help me.
Thank you in advance.
Was this page helpful?