HAProxy Installation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
Line 14: Line 14:


Configuration:
Configuration:
{{Internal|HAProxy_Configuration#Overview|HAProxy Configuration}}

Latest revision as of 04:10, 4 July 2017

Internal

Overview

yum install haproxy

This will install the default configuration file as /etc/haproxy/haproxy.cfg, the systemd unit file as /usr/lib/systemd/system/haproxy.service and the systemd configuration file /etc/sysconfig/haproxy.

To configure it to start at boot:

systemctl enable haproxy

Configuration:

HAProxy Configuration