HAProxy integration has been unchanged for a long time, so this patch removes the references that it is experimental from the documentation.
32 lines
717 B
Markdown
32 lines
717 B
Markdown
|
|
# HAProxy integration
|
|
|
|
As of version 1.6, [chasquid] supports being deployed behind a [HAProxy]
|
|
instance.
|
|
|
|
|
|
## Configuring HAProxy
|
|
|
|
In the backend server line, set the [send-proxy] parameter to turn on the use
|
|
of the PROXY protocol against chasquid.
|
|
|
|
You need to set this for each of the ports that are forwarded.
|
|
|
|
Only PROXY protocol v1 is supported for now.
|
|
|
|
|
|
## Configuring chasquid
|
|
|
|
Add the following line to `/etc/chasquid/chasquid.conf`:
|
|
|
|
```
|
|
haproxy_incoming: true
|
|
```
|
|
|
|
That turns HAProxy support on for all incoming SMTP connections.
|
|
|
|
|
|
[chasquid]: https://blitiri.com.ar/p/chasquid
|
|
[HAProxy]: https://www.haproxy.org/
|
|
[send-proxy]: http://cbonte.github.io/haproxy-dconv/2.0/configuration.html#5.2-send-proxy
|