1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2026-10-28 15:02:28 +00:00
Files
go-chasquid-smtp/docs/haproxy.md
T
Alberto Bertogli 9a59bd77d1 docs: Auto-format markdown documentation
This patch uses mdformat to auto-format markdown documentation.

To support \ for line breaks (which is what mdformat uses), mkdocs now
requires the pymdownx.escapeall extension.

Because of incompatibilities between mdformat (which formats to
CommonMark) and mkdocs (which expects Python-Markdown), there are now
some limitations: no nested lists, multi-paragraph list items, or
admonitions support.

These limitations are acceptable for now, although some of the docs had
to be adjusted to meet them.
2026-10-14 15:19:34 +01:00

713 B

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.