Running multiple SSL web service containers on the same host using HAProxy

October 10th, 2019

Scenario: Multiple containers running a web service over SSL (with their own certificates) Different web domains for each service Single machine and single public IP How to make both services work on the same machine? I couldn’t find easy instructions on how to get this done, but a bit of research and trial and error led me to HAProxy. The setup is pretty simple: Setup DNS A records to point to the machine for both domains Start the containers using […]