• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.
  • H
    hectorspc
    last edited by Jun 12, 2020, 7:01 AM

    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 Jun 12, 2020, 6:19 PM Reply Quote 0
    • P
      PiBa @hectorspc
      last edited by Jun 12, 2020, 6:19 PM

      @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
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received