Mixed-mode frontend

2014-06-25 Thread Claus Strommer
Hello all, For reasons that I'll spare you I'm working on replacing a Pound balancer with HAProxy 1.5. I am mostly happy with my configuration, except for one thing: All of my backends accept http, except for a Node.js server which accepts mixed http and https. This server has a login page that

Re: Mixed-mode frontend

2014-06-25 Thread Baptiste
On Wed, Jun 25, 2014 at 5:47 PM, Claus Strommer claus.strom...@primal.com wrote: Hello all, For reasons that I'll spare you I'm working on replacing a Pound balancer with HAProxy 1.5. I am mostly happy with my configuration, except for one thing: All of my backends accept http, except for

Re: Mixed-mode frontend

2014-06-25 Thread Claus Strommer
Whoops! Just to be safe, here's the whole thing again, with additions 8 snip frontend httpweb bind *:80 bind *:443 ssl crt /etc/ssl/private/primal_bundle_2014.pem mode http option httplog acl host_about hdr_end(host) -i about.site.com acl

Re: Mixed-mode frontend

2014-06-25 Thread Claus Strommer
By the way, the ssl option for the server did the trick. Based on the documentation for the frontend mode option (tcp ... This is the default mode. It should be used for SSL, SSH, SMTP, ...) I had assumed that no such backend option was available. But I'm glad I was wrong! Thanks again,