Table of Contents

Middleware

HAProxy



About HAProxy

http://www.haproxy.org/


How to install HAProxy

RHEL/CentOS

# yum install haproxy

Ubuntu

# apt-get install haproxy


Configuration

appsession

appsession PHPSESSID len 64 timeout 30m request-learn
cookie HAPROXY insert nocache indirect preserve httponly secure maxidle 30m maxlife 8h
server web01 192.168.100.101:80 check cookie web01
server web02 192.168.100.102:80 check cookie web02

SSL Offload

Health Check