MT6 Haproxy
Jump to navigation
Jump to search
Install HAproxy
HAproxy is a HTTP load balancer and proxy. MT6 uses it to route incoming HTTP requests to the jail where each web service runs.
jailmanage haproxy pkg install -y haproxy fetch -o /usr/local/etc/haproxy.conf http://mail-toaster.org/install/mt6-haproxy.txt cat /etc/ssl/private/server.key /etc/ssl/certs/server.crt > /etc/ssl/private/server.pem grep haproxy_enable /etc/rc.conf || echo 'haproxy_enable="YES"' >> /etc/rc.conf service haproxy start