Nginx reverse proxy without SSL termination

Solution 1:

nginx can't pass through SSL without terminating it. Use haproxy in front of nginx, which is capable of this (at least version 1.5), to proxy the RD Web traffic to your terminal server, and everything else to nginx.

Solution 2:

today, nginx Supports ssl pass thru: https://serversforhackers.com/tcp-load-balancing-with-nginx-ssl-pass-thru

Solution 3:

Since version 1.11.5, nginx supports pass-through SSL proxying with SNI awareness: http://nginx.org/en/docs/stream/ngx_stream_ssl_preread_module.html