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?
5 Replies
<#1282802390218571836>
Category
Help needed
Product
code-server
Platform
Linux
Logs
Please post any relevant logs/error messages.
hello @Yasbaltrine, is using subdomains not possible?
@Yasbaltrine any luck?
Yes i finally understood!
The path must be defined as
/subpath/*
And with that it was able to serve without problem
great!
@Phorcys closed the thread.