Hi!
I’ve read this great tutorial (https://www.digitalocean.com/community/tutorials/how-to-use-haproxy-to-set-up-http-load-balancing-on-an-ubuntu-vps) and have got it working nicely for HTTP, but not for HTTPS which has been implemented in the latest version of HAProxy.
Does anyone have a working solution to share?
Thanks in advance!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
You need to add a second
bind
directive to your HAProxy frontend:The PEM file can be created by copying the contents of the certificate and then the key into it, like this: