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

    HaProxy wrong backend

    Scheduled Pinned Locked Moved Cache/Proxy
    3 Posts 2 Posters 74 Views 2 Watching
    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 Offline
      alexhen
      last edited by alexhen

      i am using pfsense 2.8.0 with haproxy 0.63_10 and i have 4 sites that redirect to two different web server, i am using two frontend, one for http request redirect to https using rule: scheme https, and a second with type ssl/https(tcp mode) to redirect the request with the acl and the action, now i want to add a new site to one of the web servers i create a new backend (and even tried duplicate) and add the proper acl and action as always did but for some reason since the update to 2.8.0 the redirect keeps going to the wrong backend, i tried a test and rewrote and old backend and updated the acl and rule in the frontend and it works fine, is there a known bug since the update because it keeps happening even after reboot to pfsense and the haproxy service and reinstall of the package.

      A 1 Reply Last reply Reply Quote 0
      • A Offline
        andrew_cb @alexhen
        last edited by

        @alexhen
        This sounds like the issue as in https://forum.netgate.com/topic/178348/haproxy-backend-port-changes-are-not-applied/

        Try adding load-server-state-from-file none to the Advanced Settings > Backend pass thru section of each backend.

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          alexhen @andrew_cb
          last edited by

          @andrew_cb
          Thank you for the answer

          In the end it was a problem that any new backend i added just did not register, i confirm it by taking an existing one and overriding it and it worked so i want the nuclear option and just installed the entire pfsense because installing the haproxy did not help.

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