Can not use nginx to reverse proxy service
kkncc opened this issue · 4 comments
kkncc commented
why?
fashberg commented
because nginx is an http proxy, not tcp proxy
xionous commented
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/
rustdesk commented
Good, let us know if you set up successfully.
fashberg commented
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.