Im running 2 vm's, both on 443 with ssl certificates on each vm. The host machine is 192.168.1.50 I want to run nginx as a reverse proxy that forwards requests to the vm's depending on the url called. So if someone types https://bbb.bbb.com/es3 nginx needs to forward the request to 192.168.1.51 But if someone types https://aaa.aaa.com then nginx needs to forward the request to 192.168.1.52
each VM has the corresponding ssl certificate already installed, so no need to configure certs on nginx.
Any help with config would be appreciated