node server not accessible in docker container on aws
I really don't know why nginx isn't on port 3030, and if you don't have ssh access, it's hard to debug. Your nginx config should leave it open, but trying to run the backend on a different port would be worth a shot. To find the exact reason that node-server
is failing you'd need to somehow check it's logs. I'm not familiar with supervisord
, but it should have some log format. Your react-app
is also failing, the reason it works is because of how nginx uses the build files, to serve the code rather than forwarding port 3000. You can check the Server header to see if you're using nginx.