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

    HAProxy with multiple connections

    Scheduled Pinned Locked Moved Cache/Proxy
    2 Posts 2 Posters 399 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.
    • H
      hannesk
      last edited by

      Dear all,

      As a newbie, I'd like to configure HAProxy that way that ACL takes into consideration hostname sent to the frontend and also the IP address of the source.
      As I understand, if I create two rules with the same name, the OR clause is used.

      What should I do that if condition1 and condition2 both match then client is redirected to the backend.

      Best

      Hannes

      P 1 Reply Last reply Reply Quote 0
      • P
        PiBa @hannesk
        last edited by

        @hannesk
        Put both of the 2 acl names behind the use_backend action.?

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