<div dir="ltr"><div><div>Hi,<br><br>Is it possible to tunnel TLS on one host without terminating it like Websockets are tunneled?<br><a href="http://nginx.org/en/docs/http/websocket.html">http://nginx.org/en/docs/http/websocket.html</a><br>
<br>location / {<br> proxy_pass <a href="http://backend">http://backend</a>;<br> proxy_http_version 1.1;<br> proxy_set_header Upgrade $http_upgrade;<br> proxy_set_header Connection "upgrade";<br>}<br>
<br></div>If I understand correctly, both Websockets and TLS send HTTP/1.1 CONNECT request and than Upgrade header.<br><br></div>Can I use proxy_pass in a server block?<br><br>Thanks<br></div>