Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Load Balancer and apache virtual hosts

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 540 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User
      last edited by

      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>

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        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.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.