I could have used part of that yesterday!<p>Suggestions:<p>As I have installed HAProxy in a Docker container, I noticed that the dependencies for `sudo add-apt-repository` are quite numerous. Instead I created a new sources.list and added the signing key manually.<p>Since you use SSL, a nice addition to your configuration is to redirect non-ssl trafic:<p><pre><code> redirect scheme https code 301 if !{ ssl_fc }
</code></pre>
Examples on the web leave out the `code 301` (the default is 302).<p>Finally I had to try a few different ways to get my certificate and key to work with HAProxy. The order in my case was certificate, private key, intermediate, root ca (concatenated in a single file).