This example will guide you through a simple IP based load balancing solution that handles ssl traffic.
The Configuration =

Load Balancer: // will be our haproxy server
Web Server 1: // web application server 1
Web Server 2: // web application server 2
Admin Panel Port 8080: // Statistics Panel [...]