Nginx Forward SSL for single site

Posted by Will.brown on Server Fault See other posts from Server Fault or by Will.brown
Published on 2012-12-15T11:35:51Z Indexed on 2012/12/15 17:05 UTC
Read the original article Hit count: 332

Filed under:
|
|
|
|

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

© Server Fault or respective owner

Related posts about linux

Related posts about centos