Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Sv translation
languageen

Configuration haproxy

http

Download the basic configuration for a non redundant load balancer with http access:

Translations Ignore


Code Block
languagebash
curl https://cdn.jtel.de/downloads/configs/haproxy2-std-.http.deb.cfg > /etc/haproxy/haproxy.cfg


https

Download the basic configuration for a non redundant load balancer with http access:

Translations Ignore


Code Block
languagebash
curl https://cdn.jtel.de/downloads/configs/haproxy2-ssl-.https.deb.cfg > /etc/haproxy/haproxy.cfg


For a https configuration, the file /etc/haproxy/haproxy.pem must also be created, which contains the certificates and keys for https. This file must also be given special access privileges otherwise haproxy may not start.

See the sections on certificates for the role LB for further details.

Translations Ignore


Code Block
languagebash
chmod 400 /etc/haproxy/haproxy.pem





...