Nginx Forward SSL for single site
- by Will.brown
I have a nginx server setup and it works fine for http however i would like to bypass the
proxy for https connection.
I want it so that when someone goes to my ip https:// ip1 (Nginx server) it bypasses ngix and forwards all traffic to https:// ip2(webserver) i do not need ngix to do this for any ssl website just one particular website.
SO
Client
to
https:// ip1
to
https:/ /ip2
to
https:// ip1
to
client pc
I just want the nginx to not intercept the connection and forward it on and on return forward the connection to client
Im guessing i do this by nat mascarade buy not exactly sure how to do it and if i will need to tell nginx to ignore ssl aswell can someone help me please this has gone me stuck