Setting up a Reverse-Proxy with Nginx and docker-compose
May 10, 2018 · Setup Nginx as a Reverse-Proxy inside Docker. For a basic setup only 3 things are needed: 1) Mapping of the host ports to the container ports 2) Mapping a config file to the default Nginx config file at /etc/nginx/nginx.conf 3) The Nginx config. In a docker-compose file, the port mapping can be done with the ports config entry, as we've seen above.
DA: 13 PA: 66 MOZ Rank: 45