Skip to content
Matt Simerson edited this page Feb 14, 2020 · 8 revisions

Haproxy provides http routing & TLS termination.

create jail 'haproxy'

. mail-toaster.sh && provision haproxy

Upgrading

During re-provisions/upgrades, your haproxy.conf file is left intact. This means that your haproxy.conf file remains the same dating back to when you first installed haproxy. If you have no local customizations to haproxy.conf, copy haproxy.conf.default over the existing haproxy.conf file and restart haproxy. If you have local customizations, compare haproxy.conf.default with haproxy.conf and merge in the updates. The CLI utility sdiff can be helpful.

More Info

Alternatives

nginx is commonly used for this same purpose.

Clone this wiki locally