Installing a higher version of HAProxy on RHEL 7.6

I am using RHEL 7.6 and found that the highest version of HAProxy is 1.5.18. This version does not recognize sni term (similar case: HAProxy for converting HTTP to HTTPS request with server requiring SNI ).

Which path is supported by HAProxy:

  1. Is there an HAProxy on Windows? I know that there is no download for it.
  2. Can we install any version of HAProxy like, 2.1 on RHEL 7.6? What are the steps.


We do not provide any binary packages at all, but source tarballs only.

There is no version for windows.

You can build haproxy packages from source or use some RPM, Julien Pivotto just posted his build on the ML:

The IUS repository includes separate tracks for HAProxy 1.6, 1.7, 1.8 and 2.0.

Just FYI if anyone’s looking, IUS has added 2.2.x RPMs to their repository. provides latest haproxy.
The problem with el7 is openssl 1.0.2 so tls 1.3 will not work.

The “standard” way for getting a better haproxy version on EL7 is:

yum install centos-release-scl
yum install rh-haproxy18-haproxy rh-haproxy18-haproxy-syspaths

It will result in haproxy 1.8., but the binaries and the config file will be located in odd directories.

You could also try to find a yum repository, which has a low(er) reputation, but supplies some recent haproxy versions (as mentioned by nlindq).

You could also use this project GitHub - DBezemer/rpm-haproxy: HAproxy RPM spec and builds for CentOS 6/7

It will automatically download the latest stable version of haproxy, compile it from source, and create an RPM package for your platform.

If you want to go a step further, you could even create your own yum repository, and place these RPM files into it.