Hi all,<div><br></div><div>First time posting here so apologies for any faux pas etc...</div><div><br></div><div><font size="2"><span style="background-color:rgba(255,255,255,0)">I have an nginx config where I have a server block, a location block and a proxypass in the location block, pointing to an upstream.<br><br>The upstream has, at this point 3 servers in it.<br><br>All the 3 servers are in the same vpn. The proxy_pass directive pointing traffic to that upstream uses the http protocol<br><br>I want to add another server into the upstream endpoints, located in a remote datacentre. I want traffic to this remote datacentre to be encrypted over https.<br><br>The proxy_pass can't handle http and https simultaneously<br><br>Any ideas how I can have an upstream containing the 3 servers in the local datacentre that shouldn't use https, and the 1 server in the remote datacentre that does need the traffic to be encrypted with https, please?<br><br><br>Someone suggested putting a server definition in the upstream that directs to a local nginx server definition that's designed to just forward off to another upstream with an https proxy_pass command, with the second upstream holding the remote datacentre server definition but it seems a bit kludgy.</span></font><br></div><div><font size="2"><span style="background-color:rgba(255,255,255,0)"><br></span></font></div><div><font size="2"><span style="background-color:rgba(255,255,255,0)"><br></span></font></div><div><font size="2"><span style="background-color:rgba(255,255,255,0)">Thanks for any advice!</span></font></div><div><font size="2"><span style="background-color:rgba(255,255,255,0)"><br></span></font></div><div><font size="2"><span style="background-color:rgba(255,255,255,0)">Steve</span></font></div>