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

    Restore haproxy configuration

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 2 Posters 878 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.
    • hectorspcH
      hectorspc
      last edited by

      Hi,
      I have a haproxy.cfg file with more than 40 hosts configured from a server that I want to move the pfsense haproxy package.

      I have tried to move the configuration to the /var/etc/haproxy folder but when I restart the service it goes back to the default configuration.

      How can I restore the configuration from the haproxy.cfg file?

      Thanks in advance

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

        @hectorspc
        Basically, you cant..

        What you 'might' be able to do is copy a 'large part' of the config file in the advanced textbox on the settings tab, like defaults/frontends/backends, only the global section will need some more careful 'merging' of package settings and those of your own..

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