Docker Community Forums

Share and learn in the Docker community.

Nginx on windows container

(Madhurbhardwaj) #1


I’m struggling to run Nginx as reverse proxy on widows server 2016 as independent container, which automatically update its config(Routing) when I scale my underlying services running in different containers.

As windows does not support routing mesh and I’ve to published ports on the host by using --publish mode=host,target=80

(Connectap) #2

Did you find any solution, how do you and when do you publish ports as you mentioned
"published ports on the host by using --publish mode=host,target=80", After nginx container is running how do you publish ports later on