rustdesk/doc.rustdesk.com

Can not use nginx to reverse proxy service

kkncc opened this issue · 4 comments

kkncc commented

why?

because nginx is an http proxy, not tcp proxy

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/

Good, let us know if you set up successfully.

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.