Port redirection to same domain on difrent ports (80,443)

we have client that have 2 web system
let say is domain is xxxyyy[.]com
we have 2 difrent web servers one VPS-1 with ip ex. and other web VPS-2 with ip ex.
client ask when user go to http[:]//xxxyyy[.]com (port 80) he will get the web site on VPS-1 with ip ex. and when he ask https[:]//xxxyyy[.]com (port 443) he will get web site on VPS-2 with ip ex.
we have Cloudflare waf on the domain
please help how to configure

2 posts were merged into an existing topic: Port 80 to difrent server