the propblem is nginx is runnning fine i am able to see my react website, but the problem is i am not ableto fetch the details from my backend to frontend.
You can see the problem in the image i am facing.
i have setup the config file correctly. [enter image description here](https://i.sstatic.net/BLJZQ8zu.png)
enter image description here
I wanted to simply host onto a server using Nginx and pm2 to learn
have watched this guy video.
I am also confused to be able to host onto virtual machine , do i need to do anything logically to the code.
my code runs fine in vstudio.
but i have’nt done any changes to my code for deploying it.
saheb singh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.