Hello.
There are two web servers in LAN:
192.168.1.10
- site1.mydom.com
- site2.mydom.com
- site3.mydom.com
192.168.1.20
- portal.mydom.com
in iptables, all requests for ports 80 and 443 are redirected to 192.168.1.10.
The certificates received from letsencrypt for site1,2,3 are stored and connected on 192.168.1.10 - and here everything works, there are no questions.
The certificates received from letsencrypt for the portal are stored and connected to 192.168.1.20 - and the question is:
How to write VirtualHost to 192.168.1.10 so that all requests (http, https) for portal.mydom.com go to 192.168.1.20?
Thank you in advance!