Sign in
Log inSign up

How do I enable access to the corresponding Docker containers for each domain using Nginx as a domain name reverse proxy on Alibaba Cloud?

Rose's photo
Rose
·Mar 20, 2018

I want to build a multi-tenant Docker container environment by deploying multiple WordPress containers on an Alibaba Cloud ECS instance. To enable access to the sites in the corresponding containers for different domain names I need to assign an IP address and port number for each container. How can I do this? If a Nginx container is used as a domain load balancing reverse proxy, how do I configure the Nginx load, container IP address and port number?