Tunnel TLS similar to Websockets

pablo platt pablo.platt at gmail.com
Tue Apr 1 07:18:58 UTC 2014


Is it possible to tunnel TLS on one host without terminating it like
Websockets are tunneled?

location / {
    proxy_pass http://backend;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";

If I understand correctly, both Websockets and TLS send HTTP/1.1 CONNECT
request and than Upgrade header.

Can I use proxy_pass in a server block?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140401/f9d01561/attachment.html>

More information about the nginx mailing list