Navigation

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

    HAProxy, just use custom configuration file and no UI?

    pfSense Packages
    2
    3
    1310
    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.
    • J
      jsvg last edited by

      Is there a way to specific a configuration file and not use the UI? The UI does not allow one to route based on ACL… For instance you can match a URL prefix (http://load-balancer/app0, or a hostname (http://app0), and redirect it to a backend.

      I read that if you restart HAProxy, it overwrites the config file, so it seems that changing the file on disk is a useless endeavor.

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

        Hi j@svg,

        Haproxy_1_5 supports acl's and choosing backend by using multiple 'shared' frontends..
        Haproxy-devel (pkg v0.33) might be a bit more easy to understand how the concept where acl's and actions can be configured more like they are also used in the actual haproxy configurations.

        As for configuring complete 'fixed' configuration manually that is currently not possible. But also not needed imho.
        If you really must you could put a lot of custom options including whole frontend/backend configurations into the settings tab advanced setting.. Maybe that fits your purpose if the gui doesnt allow to make the wanted choices?

        Regards,
        PiBa-NL

        1 Reply Last reply Reply Quote 0
        • J
          jsvg last edited by

          Awesome. the "devel" package does exactly what we need it to do, without a whole lot of custom options. The big thing was to have multiple backends per frontend.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Products

          • Platform Overview
          • TNSR
          • pfSense Plus
          • Appliances

          Services

          • Training
          • Professional Services

          Support

          • Subscription Plans
          • Contact Support
          • Product Lifecycle
          • Documentation

          News

          • Media Coverage
          • Press
          • Events

          Resources

          • Blog
          • FAQ
          • Find a Partner
          • Resource Library
          • Security Information

          Company

          • About Us
          • Careers
          • Partners
          • Contact Us
          • Legal
          Our Mission

          We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

          Subscribe to our Newsletter

          Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

          © 2021 Rubicon Communications, LLC | Privacy Policy