SSH Proxying Through SSL CONNECT

I’m attempting to proxy an SSH connection through port 443 so that I
can break a restrictive firewall while nginx is serving documents via
SSL at the same time.

I found a python script called http-proxy-tunnel
) that will tunnel the SSH using the SSL CONNECT method. The script’s
documentation lists an example server configuration for Apache, but
I’m not sure how to achieve the same thing in nginx:

ProxyRequests on
<ProxyMatch ^(?!localhost:22$)>
Deny from all

Is there an nginx equivalent to this configuration?

Max Hawkins

This may a little off your topic line, I have been leveraging mindterm
( to
meet the same need.