I have been trying to convert all of my local development environments to Docker to avoid needing to install any development environmental tools on my parent machine.
I am using https://github.com/jwilder/nginx-proxy for the initial nginx proxy to support custom domain names at a local TLD of
.dv. All of this is working well. In this first project, I have a back-end API and a front-end interface which I am proxying to 2 different domains.
The back-end PHP is working great and my landing page shows no problem when I visit
The problem is with my front-end
http://requestit-wi.dv which I am using an nginx reverse proxy on. I keep getting a
502 Bad Gateway error and I for the life of me can't figure out what is wrong. Not sure if it is nginx or a docker issue.
Here is my docker-compose.yml and nginx.conf: https://gist.github.com/chrislentz/5eea301eac1bd25321434da83cc38a97