Once you've saved and closed the file, we need to verify whether we have any syntax errors. Use the following command:
sudo nginx -t
If everything is OK, you should see:
Finally, we restart our Nginx server:
sudo systemctl restart nginx
Now we can access our IP without the port, and the React application will work fine: