Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removed translated content for 'fr'

...

Configuration haproxy

http

Téléchargez la configuration de base pour un équilibreur de charge non redondant avec accès http :

Sv translation
languagede

Status
colourRed
titleTHIS PAGE IS ONLY AVAILABLE IN ENGLISH

Sv translation
languagefr
Translations Ignore
Code Block
languagebash
curl https://cdn.jtel.de/downloads/configs/haproxy-std.cfg > /etc/haproxy/haproxy.cfg

https

Téléchargez la configuration de base pour un équilibreur de charge non redondant avec accès http :

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

Pour une configuration https, le fichier /etc/haproxy/haproxy.pem doit également être créé, qui contient les certificats et les clés pour https. Ce fichier doit également être doté de privilèges d'accès spéciaux, sinon l'haproxy ne pourra pas démarrer.

Voir les sections sur les certificats pour le rôle LB pour plus de détails.

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