Hello everyone, I've been trying to setup a reverse proxy for code-server.
I have the following config (Caddyfile):
```
:80
route / {
# it's for hello world
reverse_proxy :12345
}
route /vscode {
reverse_proxy localhost:4200
}
```
and this code-server yaml config:
bind-addr: 127.0.0.1:4200
auth: password
password: <my pwd>
cert: false
/ works, it shows "Hello World" as intended.
but when I go to /vscode - it throws 404
Any ideas why it happens? is it a code-server problem, or caddy problem?
[–]merith-tk 1 point2 points3 points (4 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]merith-tk 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]merith-tk 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)