I have a peculiar setup where there are multiple servers, each running nginx on port 90, which connect to a single server, on which another port is then redirected back to that host.
eg
example.com:10001 -> 1.2.3.4:90
example.com:10002 -> 2.3.4.5:90
example.com:10003 -> 4.5.6.7:90
I could see one solution that would be to install nginx on example.com to do the port forwarding (I’m not sure what is doing it at the moment, I don’t have access to that server currently), and to setup https there, but that would only encrypt between the client and example.com (not the redirect back to the real host). I really would like to have end to end encryption.
Is there anyway of having 1 certificate and sharing it between all the hosts (and dealing with renewal nicely…)