title: How to NGINX Reverse Proxy outside of Docker to proxy_pass to docker containers
body: <p>I have an NGINX running on a CentOS server and would like to proxy_pass to running docker containers running on the same host.</p>
  
  <p>When using proxy_pass with the IP of container it works, however if machine gets rebooted sometimes the IP changes of the container and have to manually edit the nginx.conf to re-point to new ip of Container.  I know that NGINX can be setup inside of its own docker container and linked to other running containers but that would take a long time to setup and test. </p>
  
  <p>Is there a way to use somehow container name or another identifier that does not change directly on the host's NGINX?</p>