Getting a 502 Bad Server Request on Nginx
Never mind, I just figured it out . I just needed to change the port i was refering inside the backend file /etc/nginx/sites-enabled/backend
Changed this line proxy_pass http://localhost:9000; to this line proxy_pass http://localhost:3000; and it worked.