So there is no way to just get traffic from any ports on the frontend to the same ports on the backend no matter if they are http or https and let the backend server figure it out?
I just want to do domain based routing and want to keep the load on haproxy as light as possible.

I though if I have to change the config through scripting in the future it would be best to only have to change the domains in one place but my config at the top didn’t have one place either. So I guess thats not possible with http and https (backend terminated).

Also if I have to change the file through the terminal it will be easier if I have to add less if another server gets added.