Let's say I have a reverse-proxy server A
and a cloud server B
(which are in the same network).
- Server B can only be accessed through the internal network.
- Server A can be accessed through the internet
I
. - Server A is encrypted with Let's Encrypt.
I
<-HTTPS-> (A
<-HTTP-> B
)
Although B
can only be accessed through the internal network, anyone in the internal network can intercept the traffic between A
and B
and read it, because the traffic is unencrypted.
What is the best way to secure the traffic between A
and B
? Can I use a self signed certificate for it? And how do i configure the nginx server on A
?