Enable SSL in Haproxy Docker Container

I have a haproxy container running on port 80. This container is started with command

This haproxy used following configuration file /home/ubuntu/haproxy/haproxy.cfg

To make this haproxy work with SSL, first create a ssl.pem file with your SSL certificate contents in following order

copy and paste all those certs into ssl.pem file inside […]

Read More…

Haproxy Site With SSL

To handle SSL/HTTPS traffic on haproxy, use following config in your /etc/haproxy/haproxy.cfg file.

domain.pem SSL certificate of your domain in PEM format. This is done by using combining your SSL cert, private key and ca bundle.

If you have more sites with SSL, you can specify SSl certs like

BACKEND_SERVER_IP This is […]

Read More…