Thank you, I try this when I come home.
HAProxy is really cool once you figure out how it works.A backend is just a collection of servers. ACLs (used below) are conditions.In your case:- create servers for your two Exchange boxes- create one backend and put both servers into it- create an ACL with name "example.com" -> Expression "host ends with" -> Value "example.com"- create an ACL with name "example.net" -> Expression "host ends with" -> Value "example.net"- create an action with name "example.com" -> test type "IF" -> ACL "example.com" -> choose action "use server" -> use server "first Exchange"- create an action with name "example.net" -> test type "IF" -> ACL "example.net" -> choose action "use server" -> use server "second Exchange"- create a frontend -> Listen address "your WAN address:80" -> actions "example.com", "example.net"Now install the Let's Encrypt plugin and get certs for example.com and example.net (don't forget autodiscover. etc)- create a frontend -> Listen address "your WAN address:443" -> SSL offloading enabled -> certificates "example.net", "example.com" -> actions "example.com", "example.net"That should (broadly) cover it.Edit: Don't forget to disable NAT for ports 80 and 443 and to add a firewall rule to allow access to 80 and 443.
No, where you got the certificates is not relevant.Can you post screenshots? What does the HAProxy log say? Does the service even start?