we have a Apache web server that was getting a ton of hits due to a marketing campaign that worked out very well... but they did not think of what would happen to the web server if it did... so in short I had to build a load balanced solution with HAPROXY which worked out well (over all) but one small detail it can not xforward the ip of the client to the Apache web servers over ssl.
so.. I have setup a test Load Balancer.
I have setup nginx to receive the ssl requests on port 443 and decrypt them and forward them on to port 8000 where HAPROXY is listening to send to 1 of the 3 Apache web servers on port 443.. but when I do I get the following error
Bad Request
Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port. Instead use the HTTPS scheme to access this URL, please.