Load Balancer and apache virtual hosts
-
Hi all,
I have an problem with my pfSense load balancer.
There are two virtual hosts on my centos machines:
<virtualhost *:443="">and <virtualhost mydomain:443="">In pfSense I created an virtual server, pools and one Monitor.In the Monitor I have setting up "HTTPS" with myDomain as Host.
The Problem is, that the second virtual host has no effect. I think the reason is, because no "host" are sended to the apache (I checked it via access_log).
Any Idea, what can goes wrong?</virtualhost></virtualhost>
-
For https checks with host to work, it requires SNI. The load balancer is very, very basic and cannot do that.
HAProxy is only recently gaining that ability. I'm not sure if it's in the haproxy package yet, but it might be there, or in the haproxy-devel package.
Check the cache/proxy board here under packages.