Restore haproxy configuration

  • 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

  • @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..

Log in to reply