doc.rustdesk.com icon indicating copy to clipboard operation
doc.rustdesk.com copied to clipboard

Can not use nginx to reverse proxy service

Open kkncc opened this issue 2 years ago • 4 comments

why?

kkncc avatar Dec 20 '22 13:12 kkncc

because nginx is an http proxy, not tcp proxy

fashberg avatar Feb 16 '23 21:02 fashberg

because nginx is an http proxy, not tcp proxy

Yes it is...

https://docs.nginx.com/nginx/admin-guide/load-balancer/tcp-udp-load-balancer/

xionous avatar May 06 '23 02:05 xionous

Good, let us know if you set up successfully.

rustdesk avatar May 06 '23 03:05 rustdesk

Ok, got it, but you cannot run rustdesk server behind http-nginx listening on port 443 with named-based-virtualhosting and split by /path to each service, because tcp/tls streaming has no host-header and no Path.

Instead of nginx-tcp-proxy DNAT or k8s service does the same, you need one external port for each server-port.

fashberg avatar May 06 '23 08:05 fashberg