Docker Community Forums

Share and learn in the Docker community.

Using httpd ssl with multiple containers


(Fknapp) #1

Hello,

I am trying to setup docker to deploy multiple httpd containers each using SSL with an apache proxy front-end on one docker server sharing the same IP

The apache proxy would service requests coming in on port 443 and pass the the request to the appropriate container

server OS would be centos and web would be apache (httpd)

If someone could point me in the right direction I would appreciate it

Thanx


(Jeff Anderson) #2

You pretty much nailed it on the head–

One apache container listening on 443 and reverse proxying to other containers.

There is an official apache image on the docker hub: https://hub.docker.com/_/httpd/

That image should be a fairly good starting point.

Cheers!