HAProxy

haproxy-team Publisher

Platform:

Ubuntu
24.04 22.04 20.04 18.04 16.04 14.04
Channel Revision Published Runs on
latest/stable 147 30 Apr 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04 Ubuntu 14.04
latest/stable 66 08 Nov 2021
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04 Ubuntu 14.04
latest/candidate 147 30 Apr 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04 Ubuntu 14.04
latest/candidate 64 14 Oct 2021
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04 Ubuntu 14.04
latest/beta 147 30 Apr 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04
latest/edge 147 29 Apr 2025
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04 Ubuntu 14.04
latest/edge 37 11 Nov 2020
Ubuntu 24.04 Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04 Ubuntu 14.04
2.8/stable 557 21 Sep 2026
Ubuntu 24.04
2.8/candidate 557 14 Sep 2026
Ubuntu 24.04
2.8/edge 558 12 Sep 2026
Ubuntu 24.04
2.8/edge 557 12 Sep 2026
Ubuntu 24.04
juju deploy haproxy --channel 2.8/edge

Learn about configurations >

  • client-ip-hash-salt | secret

    User-owned Juju secret containing the salt used to hash client IPs in HAProxy access and error logs. Setting this option enables salted SHA-256 hashing; removing it restores plaintext client IP logging. The secret must contain a salt key with a string value that is not empty or only whitespace. The value must not contain control characters, DEL, double quotes, backslashes, or dollar signs. The charm does not validate salt length or entropy.

  • ddos-protection | boolean

    Default: True

    Enable basic DDoS protection mechanisms, including http-request, http-keep-alive and client timeouts, automatic dropping of connections with invalid, empty, or missing host headers.

  • enable-hsts | boolean

    Send the http response header Strict-Transport-Security for domains provided through the haproxy-route relation without the allow_http attribute. The Strict-Transport-Security header value is "max-age=2592000;".

  • external-hostname | string

    Hostname of HAProxy.

  • global-maxconn | int

    Default: 4096

    Sets the maximum per-process number of concurrent connections to <number>. Must be greater than 0.

  • vip | string

    Virtual IP address, used in active-passive ha mode.