Haproxy + SSL in http mode

Hello.
Can you please help me to make a right config for haproxy in next case:
we have 5 domains, every domain have different backend with 5 different ip adresses.
How can I do a right haproxy config to make all 5 SSL certificates works for all 5 domain in http mode?
The reason is: get a real ip adress via https connection.

BTW sorry for my english, Im not a native speaker.

Thanks for your help.