Can't serve code-server under a subpath

New at networking I have a setup with 3 VMs such as shown in the picture: 1 load balancer with caddy that routes to: 1 fastapi server at: "mydomain.cloud" code-server at: "mydomain.cloud/dev" I want to serve the code-server on the subpath /dev but i can't get it to work, the other way around it works fine (code-server at "/") I'm sure I'm missing something very obvious here: is there a env variable that I should set?
No description
5 Replies
Codercord
Codercord2mo ago
<#1282802390218571836>
Category
Help needed
Product
code-server
Platform
Linux
Logs
Please post any relevant logs/error messages.
Phorcys
Phorcys4w ago
hello @Yasbaltrine, is using subdomains not possible? @Yasbaltrine any luck?
Yasbaltrine
Yasbaltrine4w ago
Yes i finally understood! The path must be defined as /subpath/* And with that it was able to serve without problem
Phorcys
Phorcys4w ago
great!
Codercord
Codercord4w ago
@Phorcys closed the thread.
Want results from more Discord servers?
Add your server