Nginx on ec2 instance does not serve static files
问题 What was working I have MERN stack dashboard up and running on AWS EC2 instance. Ec2 instance is at ec2...aws.com React app is served on port 5004 . Node app is running on port 5003 . What was changed The problem started when I set up the domain at GoDaddy to forward (with masking) from somebusiness.com to ec2.....aws.com . First, I set up NGINX reverse proxy to serve / as my react app (frontend) and /api as my node app (backend) (you will find nginx code down below later) http://somebusiness