Replies: 1 comment
-
This is dynamic config filehttp:
routers:
rustdesk_id_router:
entryPoints:
- websecure
rule: (Host(`rustdesk.example.com`) && Path(`/ws/id`))
service: "rustdesk_id"
middlewares: # If you have
- secure_header
- cf-ip
tls: {}
rustdesk_relay_router:
entryPoints:
- websecure
rule: (Host(`rustdesk.example.com`) && Path(`/ws/relay`))
service: "rustdesk_relay"
middlewares: # If you have
- secure_header
- cf-ip
tls: {}
services:
rustdesk_id:
loadBalancer:
servers:
- url: "http://172.18.0.1:21118" # Modify if your Traefik is in different subnet of Docker network
rustdesk_relay:
loadBalancer:
servers:
- url: "http://172.18.0.1:21119" # Modify if your Traefik is in different subnet of Docker network
# This assume your RustDesk Server container is in host network mode |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a working self-hosted Rustdesk server. It works with Rustdesk client for both Linux and macOS. But it fails when trying to use the Web Client V2 from https://rustdesk.com/web/.
The server is deployed using Docker, Docker Compose and Traefik. See below the setup:
The error message on the web client is
Failed to connect to rendezvous server, wss://<MY_DOMAIN>/ws/id
which makes me think that I must redirect<MY_DOMAIN>:{443|80}
to a specific port in the Rustdesk container. I tried a few unsuccessfully using the below labels:Any idea what is needed to make the
wss://
connection works here?Beta Was this translation helpful? Give feedback.
All reactions