Ssl-default-bind-ciphers ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSSĮrrorfile 400 /etc/haproxy/errors/400.httpĮrrorfile 403 /etc/haproxy/errors/403.httpĮrrorfile 408 /etc/haproxy/errors/408.httpĮrrorfile 500 /etc/haproxy/errors/500.httpĮrrorfile 502 /etc/haproxy/errors/502.httpĮrrorfile 503 /etc/haproxy/errors/503.httpĮrrorfile 504 /etc/haproxy/errors/504.http # For more information, see ciphers(1SSL). # Default ciphers to use on SSL-enabled listening sockets. Stats socket /run/haproxy/admin.sock mode 660 level admin The following /etc/haproxy/haproxy.cfg file starts a server with the default settings: global The HAProxy main configuration file is located at /etc/haproxy/haproxy.cfg. You can also find created files in the following locations: /etc/default/haproxy The server will respond with: HA-Proxy version 1.6.3 5
Install the haproxy package with following command: sudo apt-get -y install haproxyĪfter installation, verify that HAProxy is working: haproxy -v