I am trying to deploy my Angular-NodeJS project on a server, I used nginx for Angular part and PM2 for NodeJs part. When I try the server address http://95.216.132.229/ it works fine and redirects to the http://95.216.132.229/home, but when I refresh the page it gives 404 Not Found
error! I haven't this problem when I try to run my project locally.
Why this happens and how can I fix it?