- download these two files to the same directory
- docker-compose up
- http://localhost should show you "it works" which is apache being reverse-proxied through nginx
- docker sets up DNS for
webbased on compose service name so the nginx front-end can find http://web
- proxy is set to listen on public port 80 on host so it'll receive incoming traffic, then push to httpd
Hi Bret, I am getting the below error:
This is because , maybe you are using a docker toolbox in windows. The following docker-compose.yml file contains the volumes.. which will only work with docker toolbox in windows ...only if you put the docker-compose.yml and nginx.conf inside the C:/Users// directory.