Can I pass HTTPS traffic from one port to another?
Posted
by
Kit Sunde
on Server Fault
See other posts from Server Fault
or by Kit Sunde
Published on 2012-06-23T18:51:31Z
Indexed on
2012/06/23
21:17 UTC
Read the original article
Hit count: 207
I'm doing a proxy_pass
in nginx on port 80 to 8000 on my remote server, and then a port forward from 8000 to 80 from the remote to my localhost. This works great, but I'd also like to do it with https but it seems like nginx needs a valid cert to pass the traffic on.
Is there a way for my remote server to simply forward the trafic from port 443 to say 8443 (and then I'll forward remote 8443 to local 443). Then terminate ssl on my development machine instead instead of needing to do it on the remote server?
© Server Fault or respective owner