HA proxy 設定

2012年12月21日

参考URL

http://blog.exceliance.fr/2012/09/10/how-to-get-ssl-with-haproxy-getting-rid-of-stunnel-stud-nginx-or-pound/

cd /usr/src
wget http://haproxy.1wt.eu/download/1.5/src/devel/haproxy-1.5-dev12.tar.gz
tar xzf haproxy-1.5-dev12.tar.gz
cd haproxy-1.5-dev12/
make TARGET=linux2628 USE_STATIC_PCRE=1 USE_OPENSSL=1 –>make TARGET=linux2628 USE_PCRE=1 USE_OPENSSL=1 PCREDIR=/usr/lib64

//USE_STATIC_PCREでエラー static削除

sudo make PREFIX=/opt/haproxy-ssl install

Have your say