HAProxy Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 5: Line 5:
=Overview=
=Overview=


If [[HAProxy Installation#Overview|installed with yum]], the default configuration file is deployed in /etc/haproxy/haproxy.cfg and the systemd configuration file in /etc/sysconfig/haproxy.
If [[HAProxy Installation#Overview|installed with yum]], the default configuration file is deployed in <tt>/etc/haproxy/haproxy.cfg</tt> and the systemd configuration file in <tt>/etc/sysconfig/haproxy</tt>.


=Configure HAProxy to Log into a File=
=Configure HAProxy to Log into a File=

Revision as of 02:45, 4 July 2017

Internal

Overview

If installed with yum, the default configuration file is deployed in /etc/haproxy/haproxy.cfg and the systemd configuration file in /etc/sysconfig/haproxy.

Configure HAProxy to Log into a File

Instructions in /etc/haproxy/haproxy.cfg. Follow and verify.

SSL Configuration

HAProxy SSL Pass-Through Configuration

Configuration

Options

httplog

tcplog

Logging is set to tcp instead of the default http.

ssl-hello-chk

A health check that verifies the the connection and its ability to handle SSL (SSLv3 specifically) connections.

global

defaults

mode

Possible values:

http

tcp

Used to pass secure connections off to a backend server without encrypting it.